Beispiel #1
0
 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');
 }
Beispiel #2
0
 public function __construct($label, $url = 'javascript://', $onClick = '', $key = null)
 {
     parent::__construct();
     $this->assign('label', $label);
     $this->assign('href', $url);
     $this->assign('onClick', $onClick);
     $this->consoleItem = new BASE_CMP_ConsoleItem();
     $this->key = empty($key) ? $this->consoleItem->getUniqId() : $key;
     $this->addClass('ow_console_button');
 }