Forums / Developer / Problem with subTreeMultiPaths method

Problem with subTreeMultiPaths method

Author Message

Vincent Delmaestro

Wednesday 22 September 2010 1:10:01 am

Hi all !

I'm a beginner in eZ Publish and i would like to know why those pieces of code don't work:

$formations = eZContentObjectTreeNode::subTreeMultiPaths(
                    array( 36655 => array(    
                                            'Depth' => 2,
                                            'ClassFilterType' => 'include',
                                            'ClassFilterArray' => array('formations')
                                            ),
                           81309 => array(    
                                            'Depth' => 2,
                                            'ClassFilterType' => 'include',
                                            'ClassFilterArray' => array('formations')
                                            )
                    ),
                    array('SortBy' => array('name', true))
                    
                );

Thanks a lot !