ContentTree
in package
This class creates a tree structure as an indexed array object content array provider
Use PageTree instead
Tags
Table of Contents
Properties
- $em : mixed
- $index : mixed
- $langId : mixed
- $node : mixed
- $table : mixed
- Dev.status / Public methods for Tree class: 1 getTree() Retrieves an indexed array of the nodes from top to bottom
- $tree : mixed
Methods
- __construct() : mixed
- Constructor
- buildTree() : mixed
- convert() : mixed
- getTree() : mixed
Properties
$em
public
mixed
$em
= \null
$index
public
mixed
$index
= 0
$langId
public
mixed
$langId
= 0
$node
public
mixed
$node
= array()
$table
Dev.status / Public methods for Tree class: 1 getTree() Retrieves an indexed array of the nodes from top to bottom
public
mixed
$table
= array()
$tree
public
mixed
$tree
= array()
Methods
__construct()
Constructor
public
__construct([mixed $langId = null ]) : mixed
Parameters
- $langId : mixed = null
buildTree()
public
buildTree([mixed $node = null ][, mixed $level = 0 ][, mixed $pathSoFar = '' ]) : mixed
Parameters
- $node : mixed = null
- $level : mixed = 0
- $pathSoFar : mixed = ''
convert()
public
convert(mixed $page, mixed $alias) : mixed
Parameters
- $page : mixed
- $alias : mixed
getTree()
public
getTree() : mixed