protected function addCustomTemplateVarsBeforeOutput() { parent::addCustomTemplateVarsBeforeOutput(); $this->view->assign('navbar', $this->navbar); }