Class Zend_Server_Reflection_Node

Description

Node Tree class for Zend_Server reflection operations

  • license: New BSD License
  • copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)
  • version: $Id: Node.php 2815 2007-01-16 01:42:33Z bkarwin $

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


	
			
Variable Summary
Method Summary
 array getChildren ()
 array getEndPoints ()
 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])
attachChild (line 106)

Attach a child node

  • access: public
void attachChild (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])
setValue (line 161)

Set the node value

  • access: public
void setValue (mixed $value)
  • mixed $value

Documentation generated on Thu, 18 Jan 2007 09:57:03 -0800 by phpDocumentor 1.3.1