node_show($node, $message = FALSE)Generate an array which displays a node detail page.
$node A node object.
$message A flag which sets a page title relevant to the revision being viewed.
A $page element suitable for use by drupal_page_render().
modules/node/node.module, line 1298
<?php
function node_show($node, $message = FALSE) {
if ($message) {
drupal_set_title(t('Revision of %title from %date', array('%title' => $node->title, '%date' => format_date($node->revision_timestamp))), PASS_THROUGH);
}
// Update the history table, stating that this user viewed this node.
node_tag_new($node);
// For markup consistency with other pages, use node_view_multiple() rather than node_view().
return node_view_multiple(array($node->nid => $node), 'full');
}
?>