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

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.

Balazs Halasy (01/03/2005 12:17 pm)

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

Balazs Halasy, Svitlana Shatokhina


Comments

There are no comments.