[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/Server/Reflection/ -> Node.php (summary)

Zend Framework LICENSE

Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
File Size: 201 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Zend_Server_Reflection_Node:: (10 methods):
  __construct()
  setParent()
  createChild()
  attachChild()
  getChildren()
  hasChildren()
  getParent()
  getValue()
  setValue()
  getEndPoints()


Class: Zend_Server_Reflection_Node  - X-Ref

Node Tree class for Zend_Server reflection operations

__construct($value, Zend_Server_Reflection_Node $parent = null)   X-Ref
Constructor

param: mixed $value
param: Zend_Server_Reflection_Node $parent Optional
return: Zend_Server_Reflection_Node

setParent(Zend_Server_Reflection_Node $node, $new = false)   X-Ref
Set parent node

param: Zend_Server_Reflection_Node $node
param: boolean $new Whether or not the child node is newly created
return: void

createChild($value)   X-Ref
Create and attach a new child node

param: mixed $value
return: Zend_Server_Reflection_Node New child node

attachChild(Zend_Server_Reflection_Node $node)   X-Ref
Attach a child node

param: Zend_Server_Reflection_Node $node
return: void

getChildren()   X-Ref
Return an array of all child nodes

return: array

hasChildren()   X-Ref
Does this node have children?

return: boolean

getParent()   X-Ref
Return the parent node

return: null|Zend_Server_Reflection_Node

getValue()   X-Ref
Return the node's current value

return: mixed

setValue($value)   X-Ref
Set the node value

param: mixed $value
return: void

getEndPoints()   X-Ref
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: array



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1