public function process_question_answer($data) { parent::process_question_answer($data); $this->currentanswer = $data; $this->currentanswer['newid'] = $this->get_mappingid('question_answer', $data['id']); }