跳至内容
Python 俱乐部
用户工具
登录
站点工具
搜索
工具
显示页面
修订记录
反向链接
最近更改
媒体管理器
网站地图
登录
>
最近更改
媒体管理器
网站地图
您的足迹:
drupal:script:node-object-reference
本页面只读。您可以查看源文件,但不能更改它。如果您觉得这是系统错误,请联系管理员。
====== Drupal Node Reference ====== ===== $node - Node object ===== <html> <table> <tbody> <tr> <td>$node->nid</td> <td>Node ID.</td> </tr> <tr> <td>$node->type</td> <td>Type of node (e.g. book, page, forum).</td> </tr> <tr> <td>$node->language</td> <td>The default language for this node.</td> </tr> <tr> <td>$node->uid</td> <td>User ID of node creator.</td> </tr> <tr> <td>$node->status</td> <td>unpublished/published (0|1).</td> </tr> <tr> <td>$node->created</td> <td>UNIX timestamp of node creation date.</td> </tr> <tr> <td>$node->changed</td> <td>UNIX timestamp of last time node was changed.</td> </tr> <tr> <td>$node->comment</td> <td>whether comments can be added, read, or accessed, for this node.</td> </tr> <tr> <td>$node->promote</td> <td>Promoted to front page (0|1).</td> </tr> <tr> <td>$node->moderate</td> <td>Moderation enabled (0|1).</td> </tr> <tr> <td>$node->sticky</td> <td>Sticky (0|1).</td> </tr> <tr> <td>$node->tnid</td> <td>The node ID of the translation source (or parent, if node is a translation).</td> </tr> <tr> <td>$node->translate</td> <td>Is a translation (0|1).</td> </tr> <tr> <td>$node->vid</td> <td>The revision ID of the current version of this node.</td> </tr> <tr> <td>$node->revision_uid</td> <td>The user ID of the user who created the current revision.</td> </tr> <tr><td>$node->title</td><td>Page (or, more accurately, node) title.</td></tr> <tr><td>$node->body</td> <td>Body content of node.</td></tr> <tr><td>$node->teaser</td><td>Teaser (the initial part of the body).</td></tr> <tr><td>$node->log</td><td>Message left by the creator of this revision, explaining the changes.</td></tr> <tr><td>$node->revision_timestamp</td><td>Unix timestamp showing when current revision was created.</td></tr> <tr><td>$node->format</td><td>which filter applies to this content.</td></tr> <tr><td>$node->name</td> <td>Username of node creator.</td></tr> <tr><td>$node->picture</td><td>User avatar of the node creator.</td></tr> <tr><td>$node->date</td><td>Long date, including timezone data, of when the node was created.</td></tr> <tr><td>$node->revision</td><td>TRUE/FALSE this is a new revision (if TRUE, will be saved as a separate entry in the database).</td></tr> <tr><td>$node->menu</td><td>Array containing the menu item assigned to the node.</td></tr> </tbody></table> </html> ==== Reference ==== * http://drupal.org/node/49768
drupal/script/node-object-reference.txt
· 最后更改: 2010/09/27 09:17 (外部编辑)
页面工具
显示页面
修订记录
反向链接
回到顶部