public function QuizQuestionResponse::setResultId in Quiz 7.6
Set the target result ID for this Question response.
Useful for cloning entire result sets.
File
- question_types/
quiz_question/ quiz_question.core.inc, line 883 - 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 setResultId($result_id) {
$this->result_id = $result_id;
}