You are here

public function LongAnswerResponse::getReportFormValidate in Quiz 7.4

Same name and namespace in other branches
  1. 6.4 question_types/long_answer/long_answer.classes.inc \LongAnswerResponse::getReportFormValidate()
  2. 7.6 question_types/long_answer/long_answer.classes.inc \LongAnswerResponse::getReportFormValidate()
  3. 7 question_types/long_answer/long_answer.classes.inc \LongAnswerResponse::getReportFormValidate()

Implementation of getReportFormValidate

Overrides QuizQuestionResponse::getReportFormValidate

See also

QuizQuestionResponse#getReportFormValidate($showfeedback, $showpoints, $allow_scoring)

File

question_types/long_answer/long_answer.classes.inc, line 433
Long answer classes.

Class

LongAnswerResponse
Extension of QuizQuestionResponse

Code

public function getReportFormValidate($showfeedback = TRUE, $showpoints = TRUE, $allow_scoring = FALSE) {
  return $allow_scoring ? 'long_answer_report_validate' : FALSE;
}