You are here

function nodehierarchy_views_load_node in Node Hierarchy 6

Same name and namespace in other branches
  1. 5 nodehierarchy_views/nodehierarchy_views.module \nodehierarchy_views_load_node()
  2. 6.3 nodehierarchy_views/nodehierarchy_views.module \nodehierarchy_views_load_node()
  3. 6.2 nodehierarchy_views/nodehierarchy_views.module \nodehierarchy_views_load_node()
  4. 7.4 nodehierarchy_views/nodehierarchy_views.module \nodehierarchy_views_load_node()
  5. 7.2 nodehierarchy_views/nodehierarchy_views.module \nodehierarchy_views_load_node()

Implementation of hook_load().

1 call to nodehierarchy_views_load_node()
nodehierarchy_views_nodeapi in nodehierarchy_views/nodehierarchy_views.module
Implmentation of hook_nodeapi().

File

nodehierarchy_views/nodehierarchy_views.module, line 86
Views.module integration for nodehierarchy.module.

Code

function nodehierarchy_views_load_node($node) {
  $additions = db_fetch_array(db_query('SELECT nh_children_view FROM {nodehierarchy_views} WHERE nid = %d', $node->nid));
  return $additions;
}