You are here

public function ScaleResponse::getFeedbackValues in Quiz 7.6

Same name and namespace in other branches
  1. 8.6 question_types/quiz_scale/src/Plugin/quiz/QuizQuestion/ScaleResponse.php \ScaleResponse::getFeedbackValues()
  2. 8.5 question_types/quiz_scale/src/Plugin/quiz/QuizQuestion/ScaleResponse.php \ScaleResponse::getFeedbackValues()
  3. 7.5 question_types/scale/scale.classes.inc \ScaleResponse::getFeedbackValues()

Implmenets QuizQuestionResponse::getReportFormResponse().

Overrides QuizQuestionResponse::getFeedbackValues

File

question_types/scale/scale.classes.inc, line 627
The main classes for the scale question type.

Class

ScaleResponse
Extension of QuizQuestionResponse

Code

public function getFeedbackValues() {
  $data = array();
  $data[] = array(
    'choice' => $this->answer,
  );
  return $data;
}