Beispiel #1
0
 public function actionChangeDepartment($id)
 {
     $this->form = new AppForm($this, 'chngDepartment');
     $this->form->addHidden('tiket', $id);
     $this->form->addSelect('department', "Zvolte oddělení:", UsersModel::getAllDepartments());
     $this->form->addSubmit('forward', 'Předat');
     $this->form->onSubmit[] = array($this, 'DepartmentFormProcess');
     $this->template->form = $this->form;
 }