1527. Class

1527.1. Zend\Server\Reflection\Node

Node Tree class for Zend_Server reflection operations

1527.1.1. Methods

1527.1.1.1. __construct

__construct()

Constructor

Parameters:
  • mixed
  • ZendServerReflectionNode – Optional
Return type:

ZendServerReflectionNode

1527.1.1.2. setParent

setParent()

Set parent node

Parameters:
  • ZendServerReflectionNode
  • bool – Whether or not the child node is newly created

and should always be attached

rtype:void

1527.1.1.3. createChild

createChild()

Create and attach a new child node

Parameters:mixed

:access :

Return type:ZendServerReflectionNode New child node

1527.1.1.4. attachChild

attachChild()

Attach a child node

Parameters:ZendServerReflectionNode
Return type:void

1527.1.1.5. getChildren

getChildren()

Return an array of all child nodes

Return type:array

1527.1.1.6. hasChildren

hasChildren()

Does this node have children?

Return type:bool

1527.1.1.7. getParent

getParent()

Return the parent node

Return type:null|ZendServerReflectionNode

1527.1.1.8. getValue

getValue()

Return the node’s current value

Return type:mixed

1527.1.1.9. setValue

setValue()

Set the node value

Parameters:mixed
Return type:void

1527.1.1.10. getEndPoints

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.

Return type:array