Path

ez.no / documentation / ez publish / technical manual / 3.10 / reference / objects / ezcontentobjectversion


Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

ezcontentobjectversion

Summary

Contains information about a version of a content object.

Persistent

Yes.

Attributes

Attribute

Type

Static*

Description

id

string

Yes.

The ID number of the version.

contentobject_id

string

Yes.

The ID number of the object that the version belongs to.

creator_id

string

Yes.

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

version

string

Yes.

The actual version number.

status

string

Yes.

The status of the version.

created

string

Yes.

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

modified

string

Yes.

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

workflow_event_pos

string

Yes.

DEPRECATED - was related to workflows.

user_id

string

Yes.

DEPRECATED - was related to workflows.

language_mask

string

Yes.

The sum of the ID numbers of the languages in which the version exists plus 1.

initial_language_id

string

Yes.

The ID number of the language which the version was edited in (for example 16).

creator

object

No.

The object (as ezcontentobject object) that represents the user who created the version.

name

string

No.

The name of the version (generated using the object name pattern).

version_name

string

No.

The name of the version (generated using the object name pattern).

main_parent_node_id

string

No.

The ID number of the main parent node that references the object which the version belongs to.

contentobject_attributes

array

No.

The attributes (as ezcontentobjectattribute objects) that the version consists of. Only attributes in the current language (which is determined according to the list of prioritized languages) will be fetched.

related_contentobject_array

array

No.

An array of ezcontentobject objects representing the objects that are related to the object that the version belongs to.

reverse_related_object_list

array

No.

An array of ezcontentobject objects representing the objects that are related to the object which the version belongs to.

parent_nodes

array

No.

The parent nodes (as eznodeassignment objects) of the nodes which reference the object that the version belongs to.

can_read

boolean

No.

Returns TRUE if the current user has read access to the version. Otherwise FALSE is returned.

can_remove

boolean

No.

Not documented yet.

data_map

array

No.

A hash containing the attributes (as ezcontentobjectattribute objects) that the version consists of. The keys of the hash are the identifiers of the attributes.

node_assignments

array

No.

An array of node assignments (as eznodeassignment objects) that are connected with the object which the version belongs to.

contentobject

object

No.

The object (as ezcontentobject) that the version belongs to.

initial_language

object

No.

The language which the version was edited in (as ezcontentlanguage object).

language_list

array

No.

The translations (as ezcontentobjecttranslation objects) that belong to the version - including the default translation.

translation

object

No.

DEPRECATED - was related to old multi-language functionality.

translation_list

array

No.

The translations (as ezcontentobjecttranslation objects) that belong to the version - the default translation is not included.

complete_translation_list

array

No.

Same as the "translation_list" attribute.

temp_main_node

object

No.

A temporary node (as ezcontentobjecttreenode object) for the object that the version belongs to. The temporary node does not exist in the database.

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

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

Svitlana Shatokhina (12/03/2007 10:41 am)

Balazs Halasy, Svitlana Shatokhina


Comments

There are no comments.