ArrayTreeRenderer extends AbstractTreeRenderer
Renders a tca tree array for the SelectElementTree
Table of Contents
Properties
- $recursionLevel : int
- recursion level
Methods
- renderNode() : array<string|int, mixed>
- Renders a node recursive or just a single instance
- renderNodeCollection() : array<string|int, mixed>
- Renders a tree recursively or just a single instance
- renderTree() : array<string|int, mixed>
- Renders a node collection recursive or just a single instance
- getNodeArray() : array<string|int, mixed>
- Get node array
Properties
$recursionLevel
recursion level
protected
int
$recursionLevel
= 0
Methods
renderNode()
Renders a node recursive or just a single instance
public
renderNode(TreeRepresentationNode $node[, bool $recursive = true ]) : array<string|int, mixed>
Parameters
- $node : TreeRepresentationNode
- $recursive : bool = true
Return values
array<string|int, mixed>renderNodeCollection()
Renders a tree recursively or just a single instance
public
renderNodeCollection(TreeNodeCollection $collection[, bool $recursive = true ]) : array<string|int, mixed>
Parameters
- $collection : TreeNodeCollection
- $recursive : bool = true
Return values
array<string|int, mixed>renderTree()
Renders a node collection recursive or just a single instance
public
renderTree(AbstractTree $tree[, bool $recursive = true ]) : array<string|int, mixed>
Parameters
- $tree : AbstractTree
- $recursive : bool = true
Return values
array<string|int, mixed>getNodeArray()
Get node array
protected
getNodeArray(TreeRepresentationNode|DatabaseTreeNode $node) : array<string|int, mixed>