61 if (
null !== $parent) {
78 $this->_parent = $node;
95 $child =
new self(
$value, $this);
108 $this->_children[] = $node;
132 return count($this->_children) > 0;
177 $endPoints = array();
182 foreach ($this->_children as $child) {
183 $value = $child->getValue();
186 $endPoints[] = $this;
188 && $child->hasChildren())
190 $childEndPoints = $child->getEndPoints();
191 if (!empty($childEndPoints)) {
192 $endPoints = array_merge($endPoints, $childEndPoints);
194 }
elseif ((
null !==
$value) && !$child->hasChildren()) {
195 $endPoints[] = $child;
elseif(isset( $params[ 'redirect_parent']))
__construct($value, Zend_Server_Reflection_Node $parent=null)
attachChild(Zend_Server_Reflection_Node $node)
setParent(Zend_Server_Reflection_Node $node, $new=false)