Author Topic

Montel Sébastien

Thursday 08 June 2006 8:58:46 am

Comment33599

Hi,

I try to manipulate the eZFunctionHandler class but it doesn't work. With eZContentObjectTreeNode, i fetch the nodes for example below node number 2.

include_once ('kernel/classes/ezcontentobjecttreenode.php');
$nodes =& eZContentObjectTreeNode::subTree(array('Depth'=>1),2);

To obtain the same result with eZFunctionHandler class, i use

include_once ('lib/ezutils/classes/ezfunctionhandler.php');
$nodes = eZFunctionHandler::execute('content','list', array('parent_node_id' => 2) );

But in this case, nothing in result. Where do i make a mistake ?

thanks,
Sébastien