Attribute | Type | Static* | Description |
---|---|---|---|
string |
Yes. |
The ID number of the class. |
|
version |
string |
Yes. |
The version/status of the class (0=normal, 1=temporary, 2=modified). |
name |
string |
Yes. |
The name of the class (for example "News article"). |
string |
Yes. |
The identifier of the class (for example "news_article"). |
|
contentobject_name |
string |
Yes. |
The pattern which controls how the names of the instances should be generated. |
creator_id |
string |
Yes. |
The ID number of the object that represents the user who created the class. |
modifier_id |
string |
Yes. |
The ID number of the object that represents the user who most modified the class last. |
created |
string |
Yes. |
A UNIX timestamp pinpointing the exact date/time when the class was created. |
remote_id |
string |
Yes. |
A global unique ID for the class. The remote ID is an MD5 hash of the time when the class was created plus a random value. Remote IDs are used to avoid collision of identical classes during an import. |
modified |
string |
Yes. |
A UNIX timestamp pinpointing the exact date/time when the class was last modified. |
is_container |
string |
Yes. |
Either 1 or 0. Reveals whether nodes referencing objects of this class should be considered as containers or not. Used by the administration interface to allow or disallow the creation of nodes under a node which references an object of this class. |
always_available |
string |
Yes. |
Either 1 or 0. Controls whether new instances (objects) of this class should be always available or not. Used on multi-language sites to make it possible to fetch objects which do not exist in any of the site languages. Note that this value simply dictates the default value for the "always_available" flag of the objects themselves and thus it only affects new instances. |
data_map |
array |
No. |
The attributes (as ezcontentclassattribute objects) that make up the class. |
object_count |
string |
No. |
The number of instances (objects) of the class. |
version_count |
string |
No. |
DEPRECATED - Similar to the "version" attribute, but will be 2 if the "version_count" is 2 or higher. |
version_status |
string |
No. |
DEPRECATED - The version count of the class if it has been determined, FALSE if not |
ingroup_list |
array |
No. |
The class groups (as ezclassclassgroup objects) that the class is a member of. |
ingroup_id_list |
array |
No. |
The class groups (as ezclassgroup objects) that the class belongs to. |
match_ingroup_id_list |
array |
No. |
The class groups (as ezclassgroup objects) that the class belongs to. This variable is connected with a feature that makes it possible to create template overrides based on class groups. By default the "match_ingroup_id_list" always returns a boolean FALSE value because the class group override feature is turned off. It can be turned on by setting the "EnableClassGroupOverride" directive in the [ContentOverrideSettings] block of a configuration override for "content.ini" to "true". |
group_list |
array |
No. |
All the class groups (as ezclassclassgroup objects) that are present in the database. |
creator |
object |
No. |
The object (as ezcontentobject object) representing the user who created the class. |
modifier |
object |
No. |
The object (as ezcontentobject object) representing the user who last modified the class. |
can_instantiate_languages |
array |
No. |
Not documented yet. |
* Indicates whether the attribute provides a pre-fetched value or if it needs to be computed upon request.
Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.