public function edit_reason() { $id = $_GET['id']; $this->set('reason', ExamsData::get_revision($id)); $this->show('exams/exam_revision_edit'); }