function nodehierarchy_views_load_node in Node Hierarchy 6.3
Same name and namespace in other branches
- 5 nodehierarchy_views/nodehierarchy_views.module \nodehierarchy_views_load_node()
- 6 nodehierarchy_views/nodehierarchy_views.module \nodehierarchy_views_load_node()
- 6.2 nodehierarchy_views/nodehierarchy_views.module \nodehierarchy_views_load_node()
- 7.4 nodehierarchy_views/nodehierarchy_views.module \nodehierarchy_views_load_node()
- 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 - Implementation of hook_nodeapi().
File
- nodehierarchy_views/
nodehierarchy_views.module, line 121 - Embed a view of children onto a node.
Code
function nodehierarchy_views_load_node($node) {
$additions = db_fetch_array(db_query('SELECT nh_children_view, nh_children_view_display FROM {nodehierarchy_views} WHERE nid = %d', $node->nid));
return $additions;
}