Example #1
0
 /**
  * Creates a navigation renderer for a sub level
  * @param NavigationItem $parent
  * @return Navigation
  */
 protected function CreateSubLevel(NavigationItem $parent)
 {
     $navigation = new self();
     $navigation->isSubLevel = true;
     $navigation->naviParent = $parent;
     $navigation->SetTreeItem($this->tree, $this->item);
     return $navigation;
 }