RoseTreeNode
extends TreeNode
in package
FinalYes
Tags
Table of Contents
Properties
- $children : ArrayObject
- $depth : int
- $id : string
- $name : string|int
- $parent : ITreeNode
- $schema : ISchema
- $siblings : ArrayObject
- $hashCode : int
- $hashCounter : int
Methods
- __call() : mixed
- __callStatic() : mixed
- __construct() : mixed
- __destruct() : mixed
- __get() : mixed
- addChild() : mixed
- extends() : bool
- getChildren() : ArrayObject
- getDepth() : int
- getId() : string
- getName() : string|int|float
- getParent() : ITreeNode
- getReflection() : ReflectionClass
- getSchema() : ISchema
- getSiblings() : ArrayObject
- isRoot() : bool
- setDepth() : mixed
- init() : mixed
- setName() : void
- setSchema() : void
Properties
$children
protected
ArrayObject
$children
$depth
protected
int
$depth
= 1
$id
protected
string
$id
$name
protected
string|int
$name
$parent
protected
ITreeNode
$parent
$schema
protected
ISchema
$schema
$siblings
protected
ArrayObject
$siblings
$hashCode
private
int
$hashCode
$hashCounter
private
static int
$hashCounter
= 0
Methods
__call()
public
__call(string $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : string
- $arguments : array<string|int, mixed>
Tags
__callStatic()
public
static __callStatic(mixed $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : mixed
- $arguments : array<string|int, mixed>
__construct()
public
__construct(string|int|float $name[, ITreeNode $parent = null ]) : mixed
Parameters
- $name : string|int|float
- $parent : ITreeNode = null
__destruct()
public
__destruct() : mixed
__get()
public
__get(string $property) : mixed
Parameters
- $property : string
addChild()
public
addChild(ITreeNode $node) : mixed
Parameters
- $node : ITreeNode
Tags
extends()
public
extends(ReflectionClass $reflector) : bool
Parameters
- $reflector : ReflectionClass
Return values
boolgetChildren()
public
getChildren() : ArrayObject
Tags
Return values
ArrayObjectgetDepth()
public
getDepth() : int
Tags
Return values
intgetId()
public
getId() : string
Tags
Return values
stringgetName()
public
getName() : string|int|float
Tags
Return values
string|int|floatgetParent()
public
getParent() : ITreeNode
Tags
Return values
ITreeNodegetReflection()
public
getReflection() : ReflectionClass
Return values
ReflectionClassgetSchema()
public
getSchema() : ISchema
Return values
ISchemagetSiblings()
public
getSiblings() : ArrayObject
Tags
Return values
ArrayObjectisRoot()
public
isRoot() : bool
Tags
Return values
boolsetDepth()
public
setDepth(mixed $depth) : mixed
Parameters
- $depth : mixed
Tags
init()
protected
init() : mixed
setName()
private
setName(string $name) : void
Parameters
- $name : string
setSchema()
private
setSchema(ISchema $schema) : void
Parameters
- $schema : ISchema