public function QuizQuestionResponse::setResultAnswerId in Quiz 7.5
Set the target result answer ID for this Question response.
Useful for cloning entire result sets.
Parameters
int $result_answer_id:
File
- question_types/
quiz_question/ quiz_question.core.inc, line 894 - Classes used in the Quiz Question module.
Class
- QuizQuestionResponse
- Each question type must store its own response data and be able to calculate a score for that data.
Code
public function setResultAnswerId($result_answer_id) {
$this->result_answer_id = $result_answer_id;
}