ibexa

Path

ez publish / technical manual / 3.6 / reference / objects / ezcontentclass


Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.

ezcontentclass

Summary

Contains information about a content class.

Persistent

Yes.

Attributes

Attribute

Type

Description

id

string

The ID number of the class.

version

string

The version/status of the class (0=normal, 1=temporary, 2=modified).

name

string

The name of the class (for example "News article").

identifier

string

The identifier of the class (for example "news_article").

contentobject_name

string

The pattern which controls how the names of the instances should be generated.

creator_id

string

The ID number of the object that represents the user who created the class.

modifier_id

string

The ID number of the object that represents the user who most modified the class last.

created

string

A UNIX timestamp pinpointing the exact date/time when the class was created.

remote_id

string

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

A UNIX timestamp pinpointing the exact date/time when the class was last modified.

is_container

string

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.

data_map

array

The attributes (as ezcontentclassattribute objects) that make up the class.

object_count

string

The number of instances (objects) of the class.

version_count

string

DEPRECATED - Similar to the "version" attribute, but will be 2 if the "version_count" is 2 or higher.

version_status

string

DEPRECATED - The version count of the class if it has been determined, FALSE if not
determined.

ingroup_list

array

The class groups (as ezclassclassgroup objects) that the class is a member of.

ingroup_id_list

array

The class groups (as ezclassgroup objects) that the class belongs to.

match_ingroup_id_list

array

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

All the class groups (as ezclassclassgroup objects) that are present in the database.

creator

object

The object (as ezcontentobject object) representing the user who created the class.

modifier

object

The object (as ezcontentobject object) representing the user who last modified the class.

Balazs Halasy (22/02/2005 8:42 am)

Balazs Halasy (01/04/2007 2:09 pm)

Balazs Halasy, Svitlana Shatokhina


Comments

There are no comments.