Share » Forums » Developer » get all data in a ezObject (including...

get all data in a ezObject (including translated data)

get all data in a ezObject (including translated data)

Wednesday 04 March 2009 10:11:27 pm - 1 reply

Modified on Wednesday 04 March 2009 11:08:41 pm by Roberto Sacchi

Author Message

Roberto Sacchi

Wednesday 04 March 2009 11:01:05 pm

I find a solution:

$object->contentObjectAttributes(true,false,"eng-GB",false,false)

$object is an instance of eZContentObject class)

if I want all english datas.

I can find the translation language (for exemple "eng-GB") using $object->allLanguages() method.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu