====== Drupal Node Reference ====== ===== $node - Node object =====
$node->nid | Node ID. |
$node->type | Type of node (e.g. book, page, forum). |
$node->language | The default language for this node. |
$node->uid | User ID of node creator. |
$node->status | unpublished/published (0|1). |
$node->created | UNIX timestamp of node creation date. |
$node->changed | UNIX timestamp of last time node was changed. |
$node->comment | whether comments can be added, read, or accessed, for this node. |
$node->promote | Promoted to front page (0|1). |
$node->moderate | Moderation enabled (0|1). |
$node->sticky | Sticky (0|1). |
$node->tnid | The node ID of the translation source (or parent, if node is a translation). |
$node->translate | Is a translation (0|1). |
$node->vid | The revision ID of the current version of this node. |
$node->revision_uid | The user ID of the user who created the current revision. |
$node->title | Page (or, more accurately, node) title. |
$node->body | Body content of node. |
$node->teaser | Teaser (the initial part of the body). |
$node->log | Message left by the creator of this revision, explaining the changes. |
$node->revision_timestamp | Unix timestamp showing when current revision was created. |
$node->format | which filter applies to this content. |
$node->name | Username of node creator. |
$node->picture | User avatar of the node creator. |
$node->date | Long date, including timezone data, of when the node was created. |
$node->revision | TRUE/FALSE this is a new revision (if TRUE, will be saved as a separate entry in the database). |
$node->menu | Array containing the menu item assigned to the node. |