You are here

abstract public function QuizQuestionResponse::score in Quiz 8.4

Calculate the score for the response.

1 call to QuizQuestionResponse::score()
QuizQuestionResponse::getScore in question_types/quiz_question/lib/Drupal/quiz_question/QuizQuestionResponse.php
Returns stored score if it exists, if not the score is calculated and returned.
8 methods override QuizQuestionResponse::score()
ClozeResponse::score in question_types/cloze/lib/Drupal/cloze/ClozeResponse.php
Implementation of score()
DDLinesResponse::score in question_types/quiz_ddlines/lib/Drupal/quiz_ddlines/DDLinesResponse.php
Calculate the score for the response.
LongAnswerResponse::score in question_types/long_answer/lib/Drupal/long_answer/LongAnswerResponse.php
Implementation of score
MatchingResponse::score in question_types/matching/lib/Drupal/matching/MatchingResponse.php
Implementation of score
MultichoiceResponse::score in question_types/multichoice/lib/Drupal/multichoice/MultichoiceResponse.php
Implementation of score

... See full list

File

question_types/quiz_question/lib/Drupal/quiz_question/QuizQuestionResponse.php, line 346

Class

QuizQuestionResponse

Namespace

Drupal\quiz_question

Code

public abstract function score();