コード例 #1
0
ファイル: page.php プロジェクト: gudwin/extasy
 protected function outputDashboardMenu()
 {
     if (!$this->testIfDashboardMenuShouldBeShown()) {
         return;
     }
     $this->initilizeDashboardMenu();
     $dashboardCode = $this->menu->render();
     $this->insertIntoResponse($dashboardCode);
 }
コード例 #2
0
ファイル: MenuTest.php プロジェクト: gudwin/extasy
 public function testGetChilds()
 {
     $menu = new Menu();
     $items = $menu->getItems();
     $this->AssertTrue($items instanceof ItemList);
 }