Forums / Developer / Problem with subTreeMultiPaths method

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Problem with subTreeMultiPaths method

Author Message

Vincent Delmaestro

Wednesday 22 September 2010 1:10:01 am

Hi all !

I'm a beginner in Exponential 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 !