select

Author Message

Didier Kalulambi

Wednesday 03 November 2010 2:45:02 am

I'll retrieve attribute of a parent class of a selected article
in a select list. here is my code for my fetch:

"

{def $bsps_tts = fetch( 'content','list', hash( 'parent_node_id', 100, 'class_filter_type', 'include', 'class_filter_array', array( 'bsp' ), 'depth', 2, 'limit', 10 ) )}{def $bsps_tts = fetch( 'content','list', hash( 'parent_node_id', 100, 'class_filter_type', 'include', 'class_filter_array', array( 'bsp' ), 'depth', 2, 'limit', 10 ) )}

"
"

<select name="choise_product" > {foreach $bsps_tts as $bsps_tt}<option value="{$bsps_tt.name}">{$bsps_tt.name}</option>{/foreach} </select>

"

please help me

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:26:17
Script start
Timing: Jan 18 2025 10:26:17
Module start 'layout'
Timing: Jan 18 2025 10:26:17
Module start 'content'
Timing: Jan 18 2025 10:26:18
Module end 'content'
Timing: Jan 18 2025 10:26:18
Script end

Main resources:

Total runtime0.9776 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.0054 587.7813152.6094
Module start 'layout' 0.00540.0031 740.390639.3906
Module start 'content' 0.00850.9676 779.7813402.6250
Module end 'content' 0.97600.0015 1,182.40638.3750
Script end 0.9775  1,190.7813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.3862160.0002
Check MTime0.00150.1558160.0001
Mysql Total
Database connection0.00090.090610.0009
Mysqli_queries0.936195.7517460.0203
Looping result0.00040.0454440.0000
Template Total0.938396.020.4691
Template load0.00270.274320.0013
Template processing0.935695.702920.4678
Template load and register function0.00020.025510.0002
states
state_id_array0.00210.218010.0021
state_identifier_array0.00230.237820.0012
Override
Cache load0.00230.2338100.0002
Sytem overhead
Fetch class attribute can translate value0.00110.107510.0011
Fetch class attribute name0.00080.083010.0008
XML
Image XML parsing0.00010.013110.0001
class_abstraction
Instantiating content class attribute0.00000.000410.0000
General
dbfile0.00070.0674100.0001
String conversion0.00000.001040.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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/quote.tpldatatype/ezxmltext/quote.tplextension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs