Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Node Tree class for Zend_Server reflection operations
array $_children = 'array'Array of child nodes (if any)
DetailsZend_Server_Reflection_Node $_parent = 'null'Parent node (if any)
Detailsmixed $_value = 'null'Node value
Details__construct(
mixed $value, Zend_Server_Reflection_Node $parent
=
null
)
:
Zend_Server_Reflection_NodeConstructor
DetailsattachChild(
Zend_Server_Reflection_Node $node
)
:
voidAttach a child node
DetailscreateChild(
mixed $value
)
:
Zend_Server_Reflection_NodeCreate and attach a new child node
DetailsgetChildren(
)
:
arrayReturn an array of all child nodes
DetailsgetEndPoints(
)
:
arrayRetrieve 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.
DetailsgetParent(
)
:
null|Zend_Server_Reflection_NodeReturn the parent node
DetailsgetValue(
)
:
mixedReturn the node's current value
DetailshasChildren(
)
:
booleanDoes this node have children?
DetailssetParent(
Zend_Server_Reflection_Node $node, boolean $new
=
false
)
:
voidSet parent node
DetailssetValue(
mixed $value
)
:
voidSet the node value
Details