Method |
Description |
|
__construct ( array $tree = null, array $config = null ) : self |
Constructor |
|
__toString ( ) : string |
Render Nav object to string |
|
addBranch ( array $branch, boolean $prepend = false ) : Nav |
Add to a nav tree branch |
|
addLeaf ( string $branch, array $leaf, integer $pos = null, boolean $prepend = false ) : Nav |
Add to a leaf to nav tree branch |
|
build ( ) : Nav |
Build the nav object |
|
factory ( array $tree = null, array $config = [] ) : self |
Static method to instantiate the nav object and return itself
to facilitate chaining methods together. |
|
getAcl ( ) : Acl |
Get the Acl object |
|
getConfig ( ) : array |
Get the config |
|
getRole ( ) : Role |
Get the Role object |
|
getTree ( ) : array |
Get the nav tree |
|
isReturnFalse ( ) : boolean |
Set the return false flag |
|
nav ( ) : Child |
Get the nav object |
|
rebuild ( ) : Nav |
Re-build the nav object |
|
render ( boolean $ret = false ) : mixed |
Render the nav object |
|
returnFalse ( boolean $return ) : Nav |
Set the return false flag |
|
setAcl ( Acl $acl = null ) : Nav |
Set the Acl object |
|
setConfig ( array $config = null ) : Nav |
Set the nav tree |
|
setRole ( Role $role = null ) : Nav |
Set the Role object |
|
setTree ( array $tree = null ) : Nav |
Set the nav tree |
|