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 !

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 10:34:31
Script start
Timing: Jan 18 2025 10:34:31
Module start 'layout'
Timing: Jan 18 2025 10:34:31
Module start 'content'
Timing: Jan 18 2025 10:34:33
Module end 'content'
Timing: Jan 18 2025 10:34:33
Script end

Main resources:

Total runtime1.1775 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 589.1328152.6250
Module start 'layout' 0.00630.0030 741.757839.4453
Module start 'content' 0.00931.1667 781.2031401.0703
Module end 'content' 1.17600.0015 1,182.27348.1563
Script end 1.1775  1,190.4297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.3281160.0002
Check MTime0.00180.1515160.0001
Mysql Total
Database connection0.00130.113910.0013
Mysqli_queries1.137996.6336460.0247
Looping result0.00050.0393440.0000
Template Total1.139196.720.5695
Template load0.00230.196820.0012
Template processing1.136796.535320.5684
Template load and register function0.00020.015010.0002
states
state_id_array0.00150.125410.0015
state_identifier_array0.00090.076820.0005
Override
Cache load0.00190.161970.0003
Sytem overhead
Fetch class attribute can translate value0.00070.060210.0007
Fetch class attribute name0.00070.060610.0007
XML
Image XML parsing0.00020.013110.0002
class_abstraction
Instantiating content class attribute0.00000.000310.0000
General
dbfile0.00080.0651100.0001
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs