Docs For Class Zend_Server_Reflection_Node

## Class Zend_Server_Reflection_Node

Description

Node Tree class for Zend_Server reflection operations

- license: New BSD License
- copyright: Copyright (c) 2006 Zend Technologies USA Inc. (http://www.zend.com)
- version: $Id: Node.php 1246 2006-10-11 18:42:06Z matthew $

Located in /Zend/Server/Reflection/Node.php (line 31)

Variable Summary
array $_children
Zend_Server_Reflection_Node $_parent
mixed $_value
Method Summary
Zend_Server_Reflection_Node __construct (mixed $value, [Zend_Server_Reflection_Node $parent = null])
void attachChild (Zend_Server_Reflection_Node $node)
Zend_Server_Reflection_Node createChild (mixed $value)
array getChildren ()
array getEndPoints ()
null|Zend_Server_Reflection_Node getParent ()
mixed getValue ()
boolean hasChildren ()
void setParent (Zend_Server_Reflection_Node $node, [boolean $new = false])
void setValue (mixed $value)
Variables
array $_children = array() (line 43)

Array of child nodes (if any)

- access: protected

Zend_Server_Reflection_Node $_parent = null (line 49)

Parent node (if any)

- access: protected

mixed $_value = null (line 37)

Node value

- access: protected

Methods
Constructor __construct (line 58)

Constructor

- access: public

Zend_Server_Reflection_Node __construct (mixed $value, [Zend_Server_Reflection_Node $parent = null])

- mixed $value
- Zend_Server_Reflection_Node $parent: Optional

attachChild (line 106)

Attach a child node

- access: public

void attachChild (Zend_Server_Reflection_Node $node)

- Zend_Server_Reflection_Node $node

createChild (line 93)

Create and attach a new child node

- return: New child node
- access: public

Zend_Server_Reflection_Node createChild (mixed $value)

- mixed $value

getChildren (line 120)

Return an array of all child nodes

- access: public

array getChildren ()
getEndPoints (line 175)

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.

- access: public

array getEndPoints ()
getParent (line 140)

Return the parent node

- access: public

null|Zend_Server_Reflection_Node getParent ()
getValue (line 150)

Return the node's current value

- access: public

mixed getValue ()
hasChildren (line 130)

Does this node have children?

- access: public

boolean hasChildren ()
setParent (line 76)

Set parent node

- access: public

void setParent (Zend_Server_Reflection_Node $node, [boolean $new = false])

- Zend_Server_Reflection_Node $node
- boolean $new: Whether or not the child node is newly created and should always be attached

setValue (line 161)

Set the node value

- access: public

void setValue (mixed $value)

- mixed $value

Documentation generated on Sun, 29 Oct 2006 21:27:59 -0600 by phpDocumentor 1.3.0RC6