eznodeassignment
Summary
Contains information about a node assignment.
Persistent
Yes.
Attributes
| Attribute | Type | Static* | Description |
|---|---|---|---|
| id | string | Yes. | The ID number of the node assignment. |
| remote_id | string | Yes. | The remote ID of the node assignment. |
| contentobject_id | string | Yes. | The ID number of the object that the node assignment belongs to. |
| contentobject_version | string | Yes. | The version number which the node assignment belongs to. |
| parent_node | string | Yes. | The ID number of the parent node. |
| sort_field | string | Yes. | The ID number of the method for sorting child nodes. |
| sort_order | string | Yes. | Either 1 (ascending) or 0 (descending). Reveals the order for sorting child nodes. |
| is_main | string | Yes. | Either 1 or 0. 1 means that this is the main node assignment for the object. |
| from_node_id | string | Yes. | The ID number of the original node. This attribute will only have a valid value if an existing node is moved, in which case the "parent_node_id" will reveal the new parent node. If the attribute contains "0" or "-1", it means that the node is not meant to be moved. |
| parent_remote_id | string | Yes. | The remote ID of the parent node. |
| op_code | string | Yes. | Not documented yet. |
| parent_node_obj | object | No. | The parent node (as ezcontentobjecttreenode object). |
| parent_contentobject | object | No. | The object (as ezcontentobject object) that is referenced by the parent node. |
| node | object | No. | The actual node (as ezcontentobjecttreenode) that this assignment assigns to the object. |
| is_nop_operation | boolean | No. | Not documented yet. |
| is_create_operation | boolean | No. | Not documented yet. |
| is_move_operation | boolean | No. | Not documented yet. |
| is_remove_operation | boolean | No. | Not documented yet. |
| is_set_operation | boolean | No. | Not documented yet. |
| temp_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.
Changed in Exponential 6.0.15
The attributes of eznodeassignment as eZNodeAssignment::definition() of Exponential 6.0.15 gives them (kernel/classes/eznodeassignment.php):
| Attribute | Change |
|---|---|
| is_hidden | An attribute in 6.0.15 (field eznode_assignment, integer); this page did not list it. |
| priority | An attribute in 6.0.15 (field eznode_assignment, integer); this page did not list it. |
Contributors
- Balazs Halasy Maintainer
- Svitlana Shatokhina Maintainer
- Graham Brookins Updated
Comments
Add a comment