new dBug($subtree); echo "<pre> tree - get_subtree(\$node_id,\$exclude_node_types=null," . "<br>" . " \$exclude_children_of=null,\$exclude_branches=null," . "<br>" . " \$and_not_in_clause='',\$bRecursive = false)"; echo "</pre>"; echo "<pre> get_subtree({$node_id},null,null,null,'',false)"; echo "</pre>"; $subtree = $tree_mgr->get_subtree($node_id, null, null, null, '', false); new dBug($subtree); echo "<pre> get_subtree({$node_id},null,null,null,'',true)"; echo "</pre>"; $subtree = $tree_mgr->get_subtree($node_id, null, null, null, '', true); new dBug($subtree); echo "<pre> tree - get_subtree_list(\$node_id)"; echo "</pre>"; echo "<pre> get_subtree_list({$node_id})"; echo "</pre>"; $subtree_list = $tree_mgr->get_subtree_list($node_id); new dBug($subtree_list); $path_begin_node_id = 285; $path_end_node_id = 2; define('TREE_ROOT', null); define('FORMAT_FULL', 'full'); define('FORMAT_SIMPLE', 'simple'); echo "<pre> tree - get_path(\$node_id,\$to_node_id = null,\$format = 'full') "; echo "</pre>"; echo "<pre> tree - get_path({$path_begin_node_id}) "; echo "</pre>"; $path = $tree_mgr->get_path($path_begin_node_id); new dBug($path); echo "<pre> tree - get_path(\$node_id,\$to_node_id = null,\$format = 'full') "; echo "</pre>"; echo "<pre> tree - get_path({$path_begin_node_id},TREE_ROOT,FORMAT_FULL) ";