public function edit_pilot_record() { $id = $_GET['id']; $this->set('record', ExamsData::get_pilot_record($id)); $this->show('exams/exam_edit_pilot_record'); }