Methods summary
Modifier and Type | Method |
---|---|
public | __construct ( NavTree navTree , string id = null ) |
public NavTree | getNavTree ( ) |
public | setId ( string id = null ) |
public string|null | getId ( ) |
public | setObjAffiliationTester ( Closure objAffiliationTester = null ) |
public boolean | isAffiliatedWith ( object obj ) |
public bool | containsTagNames ( array tagNames ) |
public | setTagNames ( array tagNames ) |
public | getTagNames ( ) |
public boolean | containsHookKeys ( array hookKeys ) |
public string [] | getHookKeys ( ) |
public | setHookKeys ( string hookKeys ) |
public | setInPath ( bool inPath ) |
public | isInPath ( ) |
public | addLeaf ( Leaf leaf ) |
public | removeLeafByN2nLocale ( N2nLocale n2nLocale ) |
public bool | containsLeafN2nLocale ( N2nLocale n2nLocale ) |
public Leaf | getLeafByN2nLocale ( N2nLocale n2nLocale ) |
public Leaf [] | getLeafs ( ) |
public | getParent ( ) |
public | getRoot ( ) |
protected | setParent ( NavBranch navBranch = null ) |
public | getLevel ( ) |
protected | setLevel ( int level = null ) |
public | appendChild ( NavBranch navBranch ) |
public | prependChild ( NavBranch navBranch ) |
public | removeChild ( NavBranch navBranch ) |
public | hasChildren ( ) |
public | getChildren ( ) |
public NavBranch | findChild ( object affiliatedObj = null , array tagNames = null , array hookKeys = null ) |
public NavBranch | find ( object affiliatedObj = null , array tagNames = null , array hookKeys = null ) |
public NavBranch | findAncestor ( object affiliatedObj = null , array tagNames = null , array hookKeys = null ) |
public boolean | equals ( mixed obj ) |
public boolean | containsDescendant ( NavBranch navBranch ) |
public | __toString ( ) |
Methods in detail
-
__construct
-
setId
public setId ( string id = null )param
string id -
getId
string|null public getId ( )return
page\model\nav\string|null -
setObjAffiliationTester
public setObjAffiliationTester ( Closure objAffiliationTester = null )param
Closure objAffiliationTester -
isAffiliatedWith
boolean public isAffiliatedWith ( object obj )param
object objreturn
boolean -
containsTagNames
bool public containsTagNames ( array tagNames )param
array tagNamesreturn
bool -
setTagNames
public setTagNames ( array tagNames ) -
getTagNames
public getTagNames ( ) -
containsHookKeys
boolean public containsHookKeys ( array hookKeys )param
string hookKeyreturn
boolean -
getHookKeys
string public getHookKeys ( )return
string -
setHookKeys
public setHookKeys ( string hookKeys )param
string hookKeys -
setInPath
public setInPath ( bool inPath ) -
isInPath
public isInPath ( ) -
addLeaf
param
-
removeLeafByN2nLocale
param
-
containsLeafN2nLocale
-
getLeafByN2nLocale
-
getLeafs
Leaf public getLeafs ( )return
-
getParent
public getParent ( ) -
getRoot
public getRoot ( ) -
setParent
-
getLevel
public getLevel ( ) -
setLevel
protected setLevel ( int level = null ) -
appendChild
-
prependChild
-
removeChild
-
hasChildren
public hasChildren ( ) -
getChildren
public getChildren ( ) -
findChild
NavBranch public findChild ( object affiliatedObj = null , array tagNames = null , array hookKeys = null ) -
find
NavBranch public find ( object affiliatedObj = null , array tagNames = null , array hookKeys = null ) -
findAncestor
NavBranch public findAncestor ( object affiliatedObj = null , array tagNames = null , array hookKeys = null ) -
equals
boolean public equals ( mixed obj )param
mixed objreturn
boolean -
containsDescendant
-
__toString
public __toString ( )
return