ezcontentobjectversion
Summary
Contains information about a version of a content object.
Persistent
Yes.
Attributes
| Attribute | Type | Description |
|---|---|---|
| id | string | The ID number of the version. |
| contentobject_id | string | The ID number of the object that the version belongs to. |
| creator_id | string | The ID number of the object that represents the user who created the version. |
| version | string | The actual version number. |
| status | string | The status of the version. |
| created | string | A UNIX timestamp pinpointing the exact date/time when the version was created. |
| modified | string | A UNIX timestamp pinpointing the exact date/time when the version was last modified. |
| workflow_event_pos | string | DEPRECATED - was related to workflows. |
| user_id | string | DEPRECATED - was related to workflows. |
| creator | object | The object (as ezcontentobject object) that represents the user who created the version. |
| name | string | The name of the version (generated using the object name pattern). |
| version_name | string | The name of the version (generated using the object name pattern). |
| main_parent_node_id | string | The ID number of the main parent node that references the object which the version belongs to. |
| contentobject_attributes | array | The attributes (as ezcontentobjectattribute objects) that the version consists of. |
| related_contentobject_array | array | An array of ezcontentobject objects representing the objects that are related to the object that the version belongs to. |
| reverse_related_object_list | array | An array of ezcontentobject objects representing the objects that are related to the object which the version belongs to. |
| parent_nodes | array | The parent nodes (as eznodeassignment objects) of the nodes which reference the object that the version belongs to. |
| can_read | boolean | Returns TRUE if the current user has read access to the version. Otherwise FALSE is returned. |
| data_map | array | A hash containing the attributes (as ezcontentobjectattribute objects) that the version consists of. The keys of the has are the identifiers of the attributes. |
| node_assignments | array | An array of node assignments (as eznodeassignment objects) that are connected with the object which the version belongs to. |
| contentobject | object | The object (as ezcontentobject) that the version belongs to. |
| language_list | array | The translations (as ezcontentobjecttranslation objects) that belong to the version - including the default translation. |
| translation | object | The default translation (as ezcontentobjecttranslation object). |
| translation_list | array | The translations (as ezcontentobjecttranslation objects) that belong to the version - the default translation is not included. |
| complete_translation_list | array | Same as the "translation_list" attribute. |
| temp_main_node | object | A temporary node (as ezcontentobjecttreenode object) for the object that the version belongs to. The temporary node does not exist in the database. |
Contributors
- Balazs Halasy Updated
Comments
Add a comment