You are here

public function LongAnswerResponse::getReportFormValidate in OG Quiz 7

Implementation of getReportFormValidate

Overrides QuizQuestionResponse::getReportFormValidate

See also

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

File

includes/og_long_answer.php, 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;
}