Zend Framework
1.12
|
Public Member Functions | |
__construct ($value, Zend_Server_Reflection_Node $parent=null) | |
Constructor. | |
setParent (Zend_Server_Reflection_Node $node, $new=false) | |
Set parent node. | |
createChild ($value) | |
Create and attach a new child node. | |
attachChild (Zend_Server_Reflection_Node $node) | |
Attach a child node. | |
getChildren () | |
Return an array of all child nodes. | |
hasChildren () | |
Does this node have children? | |
getParent () | |
Return the parent node. | |
getValue () | |
Return the node's current value. | |
setValue ($value) | |
Set the node value. | |
getEndPoints () | |
Retrieve the bottommost nodes of this node's tree. | |
Protected Attributes | |
$_value = null | |
$_children = array() | |
$_parent = null | |
__construct | ( | $value, | |
Zend_Server_Reflection_Node | $parent = null |
||
) |
Constructor.
mixed | $value | |
Zend_Server_Reflection_Node | $parent | Optional |
attachChild | ( | Zend_Server_Reflection_Node | $node | ) |
createChild | ( | $value | ) |
Create and attach a new child node.
mixed | $value | public |
getChildren | ( | ) |
Return an array of all child nodes.
getEndPoints | ( | ) |
Retrieve the bottommost nodes of this node's tree.
Retrieves the bottommost nodes of the tree by recursively calling getEndPoints() on all children. If a child is null, it returns the parent as an end point.
getParent | ( | ) |
Return the parent node.
getValue | ( | ) |
Return the node's current value.
hasChildren | ( | ) |
Does this node have children?
setParent | ( | Zend_Server_Reflection_Node | $node, |
$new = false |
|||
) |
Set parent node.
Zend_Server_Reflection_Node | $node | |
boolean | $new | Whether or not the child node is newly created and should always be attached |
setValue | ( | $value | ) |
Set the node value.
mixed | $value |
|
protected |
|
protected |
|
protected |