protected function showRefereeTypes() { $this->assign('title', 'Wedstrijdactietypes'); switch ($this->mode) { case 'bewerken': $oType = new RefereeType($this->editId); $this->editObject($oType); break; default: $aGamePersons = RefereeType::getAll(array(), 'name', 'asc'); $this->assign('aTypes', $aGamePersons); $this->template = '/types.tpl'; $this->showOutput(); } }