You are here

public function AbstractQuizQuestionResponse::isEvaluated in Quiz 6.3

Same name and namespace in other branches
  1. 6.6 question_types/quiz_question/quiz_question.core.inc \AbstractQuizQuestionResponse::isEvaluated()
  2. 6.5 question_types/quiz_question/quiz_question.core.inc \AbstractQuizQuestionResponse::isEvaluated()

Indicate whether the response has been evaluated (scored) yet. Questions that require human scoring (e.g. essays) may need to manually toggle this.

Overrides QuizQuestionResponse::isEvaluated

2 calls to AbstractQuizQuestionResponse::isEvaluated()
AbstractQuizQuestionResponse::getReport in question_types/quiz_question/quiz_question.core.inc
Get data suitable for reporting a user's score on the question. This expects an object with the following attributes:
AbstractQuizQuestionResponse::toBareObject in question_types/quiz_question/quiz_question.core.inc
Repesent the response as a stdClass object.

File

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

Class

AbstractQuizQuestionResponse
A base implementation of QuizQuestionResponse.

Code

public function isEvaluated() {
  return $this->evaluated;
}