You are here

public function QuizQuestionResponse::getReportFormResponse in Quiz 7.4

Same name and namespace in other branches
  1. 6.4 question_types/quiz_question/quiz_question.core.inc \QuizQuestionResponse::getReportFormResponse()
  2. 7 question_types/quiz_question/quiz_question.core.inc \QuizQuestionResponse::getReportFormResponse()

Get the response part of the report form

Parameters

$showpoints:

$showfeedback:

$allow_scoring:

Return value

FAPI form array holding the response part

1 call to QuizQuestionResponse::getReportFormResponse()
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.
8 methods override QuizQuestionResponse::getReportFormResponse()
DDLinesResponse::getReportFormResponse in question_types/quiz_ddlines/quiz_ddlines.classes.inc
Get the response part of the report form
LongAnswerResponse::getReportFormResponse in question_types/long_answer/long_answer.classes.inc
Implementation of getReportFormResponse
MatchingResponse::getReportFormResponse in question_types/matching/matching.classes.inc
Implementation of getReportFormResponse
MultichoiceResponse::getReportFormResponse in question_types/multichoice/multichoice.classes.inc
Implementation of getReportFormResponse
QuizQuestionH5PResponse::getReportFormResponse in question_types/quiz_h5p/QuizQuestionH5PResponse.class.inc
Implements getReportFormResponse of QuizQuestionResponse interface

... See full list

File

question_types/quiz_question/quiz_question.core.inc, line 907
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 getReportFormResponse($showpoints = TRUE, $showfeedback = TRUE, $allow_scoring = FALSE) {
  return array(
    '#markup' => '',
  );
}