示例#1
0
 public function GetTabsOnMain()
 {
     $tabs = array();
     foreach ($this->_getAllTabs() as $tab) {
         $pageRepository = new Application_Model_Page_Search_Repository($tab['pageType']);
         if ($pageRepository->getShowedPageCounts() > 0) {
             $tabs[] = $tab;
         }
     }
     return $tabs;
 }