public function onBeforeControllerRender(Library\Event $event) { $event->getTarget()->getView()->toolbar = $this; $this->addCommand('profile'); $this->addCommand('logout'); }
/** * Push the tabbar into the view * . * @param Library\Event A event object */ public function onBeforeControllerRender(Library\Event $event) { $event->getTarget()->getView()->tabbar = $this; }