コード例 #1
0
ファイル: main_menu.php プロジェクト: bhushansonar/hammu
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->name = BOL_NavigationService::MENU_TYPE_MAIN;
     $menuItems = BOL_NavigationService::getInstance()->findMenuItems(BOL_NavigationService::MENU_TYPE_MAIN);
     $this->setMenuItems(BOL_NavigationService::getInstance()->getMenuItems($menuItems));
 }
コード例 #2
0
ファイル: admin_menu.php プロジェクト: ZyXelP/oxwall
 /**
  * Constructor.
  * 
  * @param array $itemsList
  */
 public function __construct($itemsList)
 {
     parent::__construct();
     $this->setMenuItems(BOL_NavigationService::getInstance()->getMenuItems($itemsList));
     // set default template
     $this->setTemplate(null);
 }
コード例 #3
0
ファイル: top_menu.php プロジェクト: ZyXelP/oxwall
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->setTemplate(OW::getPluginManager()->getPlugin('base')->getMobileCmpViewDir() . 'top_menu.html');
     $this->name = BOL_MobileNavigationService::MENU_TYPE_TOP;
     $menuItems = BOL_NavigationService::getInstance()->findMenuItems(BOL_MobileNavigationService::MENU_TYPE_TOP);
     $this->setMenuItems(BOL_NavigationService::getInstance()->getMenuItems($menuItems));
 }
コード例 #4
0
ファイル: vertical_menu.php プロジェクト: hardikamutech/loov
 public function __construct($menuItems = array())
 {
     parent::__construct($menuItems);
     $this->setTemplate(OW::getPluginManager()->getPlugin('base')->getCmpViewDir() . 'vertical_menu.html');
 }
コード例 #5
0
ファイル: content_menu.php プロジェクト: vazahat/dudex
 public function __construct($menuItems = null)
 {
     parent::__construct();
     $this->setMenuItems($menuItems);
     $this->setTemplate(OW::getPluginManager()->getPlugin('base')->getCmpViewDir() . 'content_menu.html');
 }
コード例 #6
0
ファイル: main_menu.php プロジェクト: ZyXelP/oxwall
 /**
  * Constructor.
  */
 public function __construct(array $params = array())
 {
     parent::__construct();
     $this->responsive = isset($params["responsive"]) && $params["responsive"];
 }
コード例 #7
0
ファイル: responsive_menu.php プロジェクト: ZyXelP/oxwall
 public function __construct($menuItems = array())
 {
     parent::__construct($menuItems);
     $this->uniqId = uniqid("rm-");
     $this->setTemplate(OW::getPluginManager()->getPlugin('base')->getCmpViewDir() . 'responsive_menu.html');
 }