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