Skip to the content
Documentation

ezcontentlanguage

No ratings yet
Summary

Contains information about a language.

Persistent

Yes.

Attributes
Attribute Type Static* Description
id string Yes. The ID number of the language (can be 2, 4, 8, 16, 32, etc.)
name string Yes. The name of the language, for example "English (United Kingdom)".
locale string Yes. The language's locale code (for example "eng-GB").
disabled string Yes. Reserved for future use.
translation object No. Returns reference to the ezcontentlanguage object itself.
locale_object object No. The locale of this language (as ezlocale object).
object_count string No. The number of objects translated to this language.

* Indicates whether the attribute provides a pre-fetched value or if it needs to be computed upon request.

Changed in Exponential 6.0.15

The attributes of ezcontentlanguage as eZContentLanguage::definition() of Exponential 6.0.15 gives them (kernel/classes/ezcontentlanguage.php):

Attribute Change
class_count An attribute in 6.0.15 (function attribute); this page did not list it.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.