/** * Display the view */ public function display($tpl = null) { $this->state = $this->get('State'); $this->params = JComponentHelper::getParams('com_einsatzkomponente'); // Check for errors. if (count($errors = $this->get('Errors'))) { throw new Exception(implode("\n", $errors)); } FirefightersHelper::addSubmenu('kontrollcenters'); $this->addToolbar(); $this->sidebar = JHtmlSidebar::render(); parent::display($tpl); }
/** * Display the view */ public function display($tpl = null) { $this->state = $this->get('State'); $this->items = $this->get('Items'); $this->pagination = $this->get('Pagination'); // Check for errors. if (count($errors = $this->get('Errors'))) { throw new Exception(implode("\n", $errors)); } FirefightersHelper::addSubmenu('abteilungen'); $this->addToolbar(); $this->sidebar = JHtmlSidebar::render(); parent::display($tpl); }