コード例 #1
0
 public function __construct($label)
 {
     parent::__construct();
     $template = OW::getPluginManager()->getPlugin('base')->getCmpViewDir() . 'console_dropdown_menu.html';
     $this->setTemplate($template);
     $this->consoleItem = new BASE_CMP_ConsoleDropdownHover($label);
 }
コード例 #2
0
ファイル: console_list_item.php プロジェクト: vazahat/dudex
 public function __construct()
 {
     parent::__construct();
     $this->key = uniqid('cli_');
     $template = OW::getPluginManager()->getPlugin('base')->getCmpViewDir() . 'console_list_item.html';
     $this->setTemplate($template);
 }
コード例 #3
0
ファイル: console_dropdown.php プロジェクト: vazahat/dudex
 public function __construct($label, $key = null)
 {
     parent::__construct();
     $this->consoleItem = new BASE_CMP_ConsoleItem();
     $this->assign('label', $label);
     $this->key = empty($key) ? $this->consoleItem->getUniqId() : $key;
     $this->addClass('ow_console_dropdown');
 }
コード例 #4
0
ファイル: component.php プロジェクト: hardikamutech/loov
 /**
  * Constructor.
  *
  * @param string $template
  */
 public function __construct($template = null)
 {
     parent::__construct();
     // TODO remove everthing from constructor
     try {
         $plugin = OW::getPluginManager()->getPlugin(OW::getAutoloader()->getPluginKey(get_class($this)));
     } catch (InvalidArgumentException $e) {
         $plugin = null;
     }
     if ($template !== null && $plugin !== null) {
         $this->setTemplate($plugin->getCmpViewDir() . $template . '.html');
     }
 }
コード例 #5
0
ファイル: master_page.php プロジェクト: bhushansonar/hammu
 /**
  * Constructor.
  */
 public function __construct()
 {
     // echo "call mastere";
     parent::__construct();
     $this->init();
 }
コード例 #6
0
ファイル: master_page.php プロジェクト: ecki/oxwall
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->init();
 }