You are here

public function ShortAnswerQuestion::getMaximumScore in Quiz 7.4

Same name and namespace in other branches
  1. 6.6 question_types/short_answer/short_answer.classes.inc \ShortAnswerQuestion::getMaximumScore()
  2. 6.3 question_types/short_answer/short_answer.classes.inc \ShortAnswerQuestion::getMaximumScore()
  3. 6.4 question_types/short_answer/short_answer.classes.inc \ShortAnswerQuestion::getMaximumScore()
  4. 6.5 question_types/short_answer/short_answer.classes.inc \ShortAnswerQuestion::getMaximumScore()
  5. 7.6 question_types/short_answer/short_answer.classes.inc \ShortAnswerQuestion::getMaximumScore()
  6. 7 question_types/short_answer/short_answer.classes.inc \ShortAnswerQuestion::getMaximumScore()
  7. 7.5 question_types/short_answer/short_answer.classes.inc \ShortAnswerQuestion::getMaximumScore()

Implementation of getMaximumScore

Overrides QuizQuestion::getMaximumScore

See also

QuizQuestion#getMaximumScore()

File

question_types/short_answer/short_answer.classes.inc, line 225
The main classes for the short answer question type.

Class

ShortAnswerQuestion
Extension of QuizQuestion.

Code

public function getMaximumScore() {
  return variable_get('short_answer_default_max_score', 5);
}