示例#1
0
文件: page.php 项目: gudwin/extasy
 protected function outputDashboardMenu()
 {
     if (!$this->testIfDashboardMenuShouldBeShown()) {
         return;
     }
     $this->initilizeDashboardMenu();
     $dashboardCode = $this->menu->render();
     $this->insertIntoResponse($dashboardCode);
 }
示例#2
0
 public function testGetChilds()
 {
     $menu = new Menu();
     $items = $menu->getItems();
     $this->AssertTrue($items instanceof ItemList);
 }