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