You are here

public function QuizQuestionResponse::isEvaluated in Quiz 8.4

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/lib/Drupal/long_answer/LongAnswerResponse.php
Implementation of getReportFormScore
QuizQuestionResponse::getReport in question_types/quiz_question/lib/Drupal/quiz_question/QuizQuestionResponse.php
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/lib/Drupal/quiz_question/QuizQuestionResponse.php
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/lib/Drupal/quiz_question/QuizQuestionResponse.php
Represent the response as a stdClass object.
ShortAnswerResponse::getReportFormScore in question_types/short_answer/lib/Drupal/short_answer/ShortAnswerResponse.php
Implementation of getReportFormScore

File

question_types/quiz_question/lib/Drupal/quiz_question/QuizQuestionResponse.php, line 70

Class

QuizQuestionResponse

Namespace

Drupal\quiz_question

Code

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