You are here

public function QuizQuestionResponse::getReportFormValidate in Quiz 7.6

Same name and namespace in other branches
  1. 6.4 question_types/quiz_question/quiz_question.core.inc \QuizQuestionResponse::getReportFormValidate()
  2. 7 question_types/quiz_question/quiz_question.core.inc \QuizQuestionResponse::getReportFormValidate()
  3. 7.4 question_types/quiz_question/quiz_question.core.inc \QuizQuestionResponse::getReportFormValidate()
  4. 7.5 question_types/quiz_question/quiz_question.core.inc \QuizQuestionResponse::getReportFormValidate()

Get the validate function for the reportForm

Return value

Validate function as a string, or FALSE if no validate function

2 methods override QuizQuestionResponse::getReportFormValidate()
LongAnswerResponse::getReportFormValidate in question_types/long_answer/long_answer.classes.inc
Implements QuizQuestionResponse::getReportFormValidate().
ShortAnswerResponse::getReportFormValidate in question_types/short_answer/short_answer.classes.inc
Implements QuizQuestionResponse::getReportFormValidate().

File

question_types/quiz_question/quiz_question.core.inc, line 812
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 getReportFormValidate(&$element, &$form_state) {
  return FALSE;
}