You are here

abstract public function QuizQuestionResponse::score in OG Quiz 7

Calculate the score for the response.

1 call to QuizQuestionResponse::score()
QuizQuestionResponse::getScore in includes/og_quiz_question.php
Returns stored score if it exists, if not the score is calculated and returned.
1 method overrides QuizQuestionResponse::score()
LongAnswerResponse::score in includes/og_long_answer.php
Implementation of score

File

includes/og_quiz_question.php, line 1150
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 abstract function score();