Beispiel #1
0
 public function init()
 {
     // parent initializer
     parent::init();
     // atache before render to stop render if not in group
     $this->on(self::EVENT_BEFORE_RENDER, [$this, 'eventBeforeRender']);
 }
Beispiel #2
0
 public function init()
 {
     // parent initializer
     parent::init();
     // check if the current menu item does have this group
     //var_dump($this->getValue());
 }