You are here

public function QuizQuestionResponse::isEvaluated in OG Quiz 7

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

4 calls to QuizQuestionResponse::isEvaluated()
LongAnswerResponse::getReportFormScore in includes/og_long_answer.php
Implementation of getReportFormScore
QuizQuestionResponse::getReport in includes/og_quiz_question.php
Get data suitable for reporting a user's score on the question. This expects an object with the following attributes:
QuizQuestionResponse::getReportForm in includes/og_quiz_question.php
Creates the report form for the admin pages, and for when a user gets feedback after answering questions.
QuizQuestionResponse::toBareObject in includes/og_quiz_question.php
Represent the response as a stdClass object.

File

includes/og_quiz_question.php, line 796
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;
}