Esempio n. 1
0
 public function __construct($options = array())
 {
     //merge in the default settings
     $this->setDefaults($this->_default_defaults);
     parent::__construct($options);
     //$this->addTemplatePath( dirname(__FILE__).'/templates' );
 }
Esempio n. 2
0
 protected function initialize()
 {
     //add it before the parent initialize, so it appears before the standard hero
     $this->addHook('before:lower-container', 'superhero');
     $this->addHTML('navbar.class', 'transparent superhero');
     parent::initialize();
 }