Forums / Developer / Variable $object.languages

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Variable $object.languages

Author Message

Albe Terra

Thursday 30 October 2008 7:43:20 am

Hi,
Which values are stored in the variable $object.languages?
I have a website with two languages: en-GB and ita-IT.
I have created a document in en-EN. Then I need to use that variable for that object...but it's empty!
Is it correct? Shouldn't it contain the value en-GB?

Thanks, Albe

Łukasz Serwatka

Thursday 06 November 2008 12:07:18 pm

Hi,

According to doc it is "list of languages the object exists in, ordered by their priority (as an array of ezcontentlanguage objects)."

Check your SiteLanguageList array in site.ini.append.php

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog