ezcTreeNodeList represents a lists of nodes.
The nodes in the list can be accessed through an array as this class implements the ArrayAccess SPL interface. The array is indexed based on the the node's ID.
Example:
Source for this file: /Tree/src/tree_node_list.php
Version: | //autogentag// |
array(string=>ezcTreeNode) | read |
$nodes
The nodes belonging to this list. |
string | read |
$size
The number of nodes in the list. |
public ezcTreeNodeList |
__construct(
)
Constructs a new ezcTreeNodeList object. |
public void |
addNode(
$node
)
Adds the node $node to the list. |
public void |
fetchDataForNodes(
)
Fetches data for all nodes in the node list. |
Constructs a new ezcTreeNodeList object.
Adds the node $node to the list.
Name | Type | Description |
---|---|---|
$node |
ezcTreeNode |
Fetches data for all nodes in the node list.