Esempio n. 1
0
 public function render(MenuRender $renderer)
 {
     return $renderer->renderItem($this);
 }
 /**
  * Gets the compilied Menu
  */
 protected function generateMenu()
 {
     //Recompiles the menu from scratch with identifier "active"
     include "core/lib/MenuRender.php";
     $mr = new MenuRender();
     return $mr->compileMenu($this->getInputString("page"), null, $this->getInputString("system"));
 }