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.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.