Monday 01 November 2010 4:34:38 am
Hello All , I am very much new to using ez publish and to the community. In my first Development ,I want to retrieve objects of type specified by class_filter_array and I use this query in my php code : my class is 'test' ezpublishversion 3.10
$params = array( 'ClassFilterType' => 'include',
'ClassFilterArray' => array('test'));
$nodes =& eZContentObjectTreeNode::subTree($params,2);
/
echo count($nodes)." Elets \n====";
foreach ( $nodes as $key=>$node )
{
echo $node->attribute('name')."\n"; } If I used 'ClassFilterArray' => array('folder') it works .But Another class isn't works .
Thanks! Best regards,
|