You are here

protected function QuizQuestion::autoUpdateMaxScore in Quiz 7.5

Same name and namespace in other branches
  1. 7.6 question_types/quiz_question/quiz_question.core.inc \QuizQuestion::autoUpdateMaxScore()
  2. 7.4 question_types/quiz_question/quiz_question.core.inc \QuizQuestion::autoUpdateMaxScore()

This may be overridden in subclasses. If it returns true, it means the max_score is updated for all occurrences of this question in quizzes.

Return value

bool

1 call to QuizQuestion::autoUpdateMaxScore()
QuizQuestion::saveRelationships in question_types/quiz_question/quiz_question.core.inc
Save this Question to the specified Quiz.

File

question_types/quiz_question/quiz_question.core.inc, line 440
Classes used in the Quiz Question module.

Class

QuizQuestion
A base implementation of a quiz_question.

Code

protected function autoUpdateMaxScore() {
  return FALSE;
}