API Documentation

Server/Reflection/Node.php

Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Server
Classes
Zend_Server_Reflection_Node

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Server_Reflection_Node

category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Server
subpackage
Reflection
version
$Id: Node.php 20096 2010-01-06 02:05:09Z bkarwin $
Properties
$_value
$_children
$_parent
Methods
__construct
setParent
createChild
attachChild
getChildren
hasChildren
getParent
getValue
setValue
getEndPoints

Description

Node Tree class for Zend_Server reflection operations

Properties

$_children

array $_children = 'array'

Array of child nodes (if any)

Details

$_children
array
visibility
protected
default
array
final
false
static
false

$_parent

Zend_Server_Reflection_Node $_parent = 'null'

Parent node (if any)

Details

$_parent
Zend_Server_Reflection_Node
visibility
protected
default
null
final
false
static
false

$_value

mixed $_value = 'null'

Node value

Details

$_value
mixed
visibility
protected
default
null
final
false
static
false

Methods

__construct

__construct( mixed $value, Zend_Server_Reflection_Node $parent = null ) : Zend_Server_Reflection_Node

Constructor

Arguments
$value
mixed
$parent
Zend_Server_Reflection_Node
Optional
Details
visibility
public
final
false
static
false

attachChild

attachChild( Zend_Server_Reflection_Node $node ) : void

Attach a child node

Arguments
$node
Zend_Server_Reflection_Node
Details
visibility
public
final
false
static
false

createChild

createChild( mixed $value ) : Zend_Server_Reflection_Node

Create and attach a new child node

Arguments
$value
mixed
Output
Zend_Server_Reflection_Node
New child node
Details
visibility
public
final
false
static
false
access
public

getChildren

getChildren( ) : array

Return an array of all child nodes

Output
array
Details
visibility
public
final
false
static
false

getEndPoints

getEndPoints( ) : array

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.

Output
array
Details
visibility
public
final
false
static
false

getParent

getParent( ) : null|Zend_Server_Reflection_Node

Return the parent node

Details
visibility
public
final
false
static
false

getValue

getValue( ) : mixed

Return the node's current value

Output
mixed
Details
visibility
public
final
false
static
false

hasChildren

hasChildren( ) : boolean

Does this node have children?

Output
boolean
Details
visibility
public
final
false
static
false

setParent

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

Set parent node

Arguments
$node
Zend_Server_Reflection_Node
$new
boolean
Whether or not the child node is newly created and should always be attached
Details
visibility
public
final
false
static
false

setValue

setValue( mixed $value ) : void

Set the node value

Arguments
$value
mixed
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.