NavBuilder
in package
Nav builder class
Tags
Table of Contents
Methods
- build() : Child
- Build the navigation from the nav object
- prepare() : array<string|int, mixed>
- Prepare nav node
Methods
build()
Build the navigation from the nav object
public
static build(Nav $navObject, array<string|int, mixed> $tree[, int $depth = 1 ][, string|null $parentHref = null ]) : Child
Parameters
- $navObject : Nav
- $tree : array<string|int, mixed>
- $depth : int = 1
- $parentHref : string|null = null
Tags
Return values
Childprepare()
Prepare nav node
public
static prepare(Nav $navObject, array<string|int, mixed> $config[, int $depth = 1 ]) : array<string|int, mixed>
Parameters
- $navObject : Nav
- $config : array<string|int, mixed>
- $depth : int = 1