Forums / Developer / template fetch inside a php module

template fetch inside a php module

Author Message

andreas spahr

Wednesday 19 November 2003 7:58:50 am

Hello,

i want to access the following

{let name=Child loop=fetch(content, list, hash(parent_node_id, $node.node_id, class_filter_array, array( 2 ) ) )}

inside a php module.
Can somebody give me a hint?

eZ debug

Timing: Jan 19 2025 03:26:29
Script start
Timing: Jan 19 2025 03:26:29
Module start 'content'
Timing: Jan 19 2025 03:26:30
Module end 'content'
Timing: Jan 19 2025 03:26:30
Script end

Main resources:

Total runtime1.4272 sec
Peak memory usage4,096.0000 KB
Database Queries47

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0079 588.9766180.8281
Module start 'content' 0.00791.4130 769.8047403.4141
Module end 'content' 1.42090.0063 1,173.218838.1016
Script end 1.4272  1,211.3203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.2047140.0002
Check MTime0.00140.0993140.0001
Mysql Total
Database connection0.00080.056710.0008
Mysqli_queries1.392597.5664470.0296
Looping result0.00040.0277450.0000
Template Total1.392997.620.6965
Template load0.00220.155420.0011
Template processing1.390797.441020.6953
Template load and register function0.00020.014010.0002
states
state_id_array0.00130.094210.0013
state_identifier_array0.00070.048820.0003
Override
Cache load0.00180.125480.0002
Sytem overhead
Fetch class attribute can translate value0.00050.034610.0005
Fetch class attribute name0.00050.036110.0005
XML
Image XML parsing0.00030.018510.0003
class_abstraction
Instantiating content class attribute0.00000.000210.0000
General
dbfile0.00090.0656120.0001
String conversion0.00000.000430.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/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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