public function __construct($name)
 {
     parent::__construct();
     $this->name = $name;
     if (!$this->hasData('template')) {
         $this->setTemplate('mgt_developertoolbar/tabcontainer.phtml');
     }
 }
Beispiel #2
0
 public function __construct($name, $label = '')
 {
     parent::__construct();
     $this->_name = $name;
     if ($label) {
         $this->_label = $label;
     }
     if (!$this->hasData('template')) {
         $this->setTemplate('mgt_developertoolbar/item.phtml');
     }
 }
Beispiel #3
0
 public function __construct($name, $label)
 {
     parent::__construct();
     $this->_name = $name;
     $this->_label = $label;
 }