n2n Page Rocket 1 API

page\model\nav

­Nav­Branch

NavBranch

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