RoseTree
extends Tree
in package
Tags
Table of Contents
Properties
- $is_traversing : bool
- $root : ITreeNode
- $hashCode : int
- $hashCounter : int
Methods
- __call() : mixed
- __callStatic() : mixed
- __construct() : mixed
- __destruct() : mixed
- __get() : mixed
- extends() : bool
- find() : ITreeNode
- getName() : string
- getReflection() : ReflectionClass
- getRoot() : ITreeNode
- isTraversing() : bool
- stopTraverse() : null
- traverse() : mixed
- init() : mixed
- findRecursively() : ITreeNode
Properties
$is_traversing
protected
bool
$is_traversing
= false
$root
protected
ITreeNode
$root
$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(ITreeNode $root) : mixed
Parameters
- $root : ITreeNode
__destruct()
public
__destruct() : mixed
__get()
public
__get(string $property) : mixed
Parameters
- $property : string
extends()
public
extends(ReflectionClass $reflector) : bool
Parameters
- $reflector : ReflectionClass
Return values
boolfind()
public
find(string|int|float $node_name) : ITreeNode
Parameters
- $node_name : string|int|float
Return values
ITreeNodegetName()
public
getName() : string
Tags
Return values
stringgetReflection()
public
getReflection() : ReflectionClass
Return values
ReflectionClassgetRoot()
public
getRoot() : ITreeNode
Tags
Return values
ITreeNodeisTraversing()
public
isTraversing() : bool
Return values
boolstopTraverse()
public
stopTraverse() : null
Tags
Return values
nulltraverse()
public
traverse(ITree $tree, ITreeNode $node, mixed $callable) : mixed
Parameters
Tags
init()
protected
init() : mixed
findRecursively()
private
findRecursively(string|int|float $node_name, ITreeNode $node) : ITreeNode
Parameters
- $node_name : string|int|float
- $node : ITreeNode