is this BUG [language_list] ?!

Author Message

Selmah Maxim

Monday 07 July 2003 7:10:44 am

am trying to get a list of language for the submitted data with this lines :

{section loop=fetch(content,list,hash(parent_node_id,$BusinessDirID,depth,0,class_filter_type, "include",class_filter_array,array($CompanyDataClassID))) }

{$:item.contentobject_version_object.language_list|attribute(show,1)}
{/section}

the output is strange, the array counter is 0 for values :

Attribute Type Value
0 object[ezcontentobjecttranslation] Object
Attribute Type Value
0 object[ezcontentobjecttranslation] Object

I think it must be :

Attribute Type Value
0 object[ezcontentobjecttranslation] Object
Attribute Type Value
--> 1 object[ezcontentobjecttranslation] Object

or is always 0 ?!?

if always 0 then how can I get different values of objects ?!

Selmah Maxim

Monday 07 July 2003 7:40:05 am

wasn`t bug ... coz i have more language I get array for each language :)

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 31 2025 01:26:47
Script start
Timing: Jan 31 2025 01:26:47
Module start 'layout'
Timing: Jan 31 2025 01:26:47
Module start 'content'
Timing: Jan 31 2025 01:26:47
Module end 'content'
Timing: Jan 31 2025 01:26:47
Script end

Main resources:

Total runtime0.5470 sec
Peak memory usage8,192.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 588.1328151.2109
Module start 'layout' 0.00500.0035 739.3438220.6875
Module start 'content' 0.00850.5374 960.03134,165.2656
Module end 'content' 0.54600.0010 5,125.29697.8516
Script end 0.5470  5,133.1484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.6170160.0002
Check MTime0.00120.2209160.0001
Mysql Total
Database connection0.00080.145310.0008
Mysqli_queries0.471786.2323520.0091
Looping result0.00050.0873500.0000
Template Total0.503292.020.2516
Template load0.00180.328920.0009
Template processing0.501491.654820.2507
Template load and register function0.00240.430910.0024
states
state_id_array0.00090.168210.0009
state_identifier_array0.00090.160720.0004
Override
Cache load0.00140.2643210.0001
Sytem overhead
Fetch class attribute can translate value0.00210.380110.0021
Fetch class attribute name0.00220.408620.0011
XML
Image XML parsing0.00010.020710.0001
class_abstraction
Instantiating content class attribute0.00000.001820.0000
General
dbfile0.00120.2223100.0001
String conversion0.00000.001440.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs