Loads a node object from the database.
$nid: The node ID.
$vid: The revision ID.
$reset: Whether to reset the node_load_multiple cache.
A fully-populated node object, or FALSE if the node is not found.
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;
}