\Zend_Server_Reflection_Node

Node Tree class for Zend_Server reflection operations

Summary

Methods
Properties
Constants
__construct()
setParent()
createChild()
attachChild()
getChildren()
hasChildren()
getParent()
getValue()
setValue()
getEndPoints()
No public properties found
No constants found
No protected methods found
$_value
$_children
$_parent
N/A
No private methods found
No private properties found
N/A

Properties

$_value

$_value : mixed

Node value

Type

mixed

$_children

$_children : array

Array of child nodes (if any)

Type

array

Methods

setParent()

setParent(\Zend_Server_Reflection_Node  $node, boolean  $new = false) : void

Set parent node

Parameters

\Zend_Server_Reflection_Node $node
boolean $new

Whether or not the child node is newly created and should always be attached

createChild()

createChild(mixed  $value) : \Zend_Server_Reflection_Node

Create and attach a new child node

Parameters

mixed $value

Returns

\Zend_Server_Reflection_Node

New child node

getChildren()

getChildren() : array

Return an array of all child nodes

Returns

array

hasChildren()

hasChildren() : boolean

Does this node have children?

Returns

boolean

getValue()

getValue() : mixed

Return the node's current value

Returns

mixed

setValue()

setValue(mixed  $value) : void

Set the node value

Parameters

mixed $value

getEndPoints()

getEndPoints() : array

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.

Returns

array