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.