예제 #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);
 }