Forums / Developer / fetch(tree [...] equivalent in PHP? / Comment42598
Hans Melis
Tuesday 22 March 2005 12:09:36 am
Hi Gabriel
The content tree|list fetch uses the function eZContentObjectTreeNode::subTree( $params, $nodeID ).
The <i>$nodeID</i> is what you'd pass as parent_node_id in templates. <i>$params</i> is an associative array with the same parameters as in templates, except that you need to strip underscores and start all parts with a capital (ex: class_filter_array becomes ClassFilterArray).
hth
Hans http://blog.hansmelis.be