function node_page_view in Drupal 5
Same name and namespace in other branches
- 6 modules/node/node.module \node_page_view()
- 7 modules/node/node.module \node_page_view()
Menu callback; view a single node.
2 string references to 'node_page_view'
- comment_menu in modules/
comment/ comment.module - Implementation of hook_menu().
- node_menu in modules/
node/ node.module - Implementation of hook_menu().
File
- modules/
node/ node.module, line 2519 - The core that allows content to be submitted to the site. Modules and scripts may programmatically submit nodes using the usual form API pattern.
Code
function node_page_view($node, $cid = NULL) {
drupal_set_title(check_plain($node->title));
return node_show($node, $cid);
}