You are here

public function QuizQuestionResponse::isEvaluated in Quiz 7

Same name and namespace in other branches
  1. 6.6 question_types/quiz_question/quiz_question.core.inc \QuizQuestionResponse::isEvaluated()
  2. 6.3 question_types/quiz_question/quiz_question.core.inc \QuizQuestionResponse::isEvaluated()
  3. 6.4 question_types/quiz_question/quiz_question.core.inc \QuizQuestionResponse::isEvaluated()
  4. 6.5 question_types/quiz_question/quiz_question.core.inc \QuizQuestionResponse::isEvaluated()
  5. 7.6 question_types/quiz_question/quiz_question.core.inc \QuizQuestionResponse::isEvaluated()
  6. 7.4 question_types/quiz_question/quiz_question.core.inc \QuizQuestionResponse::isEvaluated()
  7. 7.5 question_types/quiz_question/quiz_question.core.inc \QuizQuestionResponse::isEvaluated()

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

5 calls to QuizQuestionResponse::isEvaluated()
LongAnswerResponse::getReportFormScore in question_types/long_answer/long_answer.classes.inc
Implementation of getReportFormScore
QuizQuestionResponse::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:
QuizQuestionResponse::getReportForm in question_types/quiz_question/quiz_question.core.inc
Creates the report form for the admin pages, and for when a user gets feedback after answering questions.
QuizQuestionResponse::toBareObject in question_types/quiz_question/quiz_question.core.inc
Represent the response as a stdClass object.
ShortAnswerResponse::getReportFormScore in question_types/short_answer/short_answer.classes.inc
Implementation of getReportFormScore

File

question_types/quiz_question/quiz_question.core.inc, line 669
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 function isEvaluated() {
  return (bool) $this->evaluated;
}