You are here

public function QuizQuestionResponse::saveResult in OG Quiz 7

Saves the quiz result. This is not used when a question is skipped!

File

includes/og_quiz_question.php, line 1124
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 saveResult() {
  $this->is_skipped = FALSE;
  $this
    ->save();
}