function node_load

cis7 node.module node_load($nid = NULL, $vid = NULL, $reset = FALSE)
cle7 node.module node_load($nid = NULL, $vid = NULL, $reset = FALSE)
elmsmedia7 node.module node_load($nid = NULL, $vid = NULL, $reset = FALSE)
icor7 node.module node_load($nid = NULL, $vid = NULL, $reset = FALSE)
meedjum_blog7 node.module node_load($nid = NULL, $vid = NULL, $reset = FALSE)
mooc7 node.module node_load($nid = NULL, $vid = NULL, $reset = FALSE)

Loads a node object from the database.


$nid: The node ID.

$vid: The revision ID.

$reset: Whether to reset the node_load_multiple cache.

Return value

A fully-populated node object, or FALSE if the node is not found.

132 calls to node_load()
auto_nodetitle_operations_update in sites/all/modules/ulmus/auto_nodetitle/auto_nodetitle.module
Callback function for updating node titles.
book_admin_edit_submit in modules/book/
Form submission handler for book_admin_edit().
book_block_view in modules/book/book.module
Implements hook_block_view().
book_copy_book_process_book_copy in sites/all/modules/elmsln_contrib/book_copy/book_copy.module
Callback for book_copy ajax call from outline designer.
book_copy_copy in sites/all/modules/elmsln_contrib/book_copy/book_copy.module
Callback for replicating a book outline below a passed node.

... See full list

1 string reference to 'node_load'
httprl.examples.php in sites/all/modules/ulmus/httprl/examples/httprl.examples.php
HTTP Parallel Request Library code examples.


modules/node/node.module, line 962
The core that allows content to be submitted to the site. Modules and scripts may programmatically submit nodes using the usual form API pattern.


function node_load($nid = NULL, $vid = NULL, $reset = FALSE) {
  $nids = (isset($nid) ? array($nid) : array());
  $conditions = (isset($vid) ? array('vid' => $vid) : array());
  $node = node_load_multiple($nids, $conditions, $reset);
  return $node ? reset($node) : FALSE;



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.