You are here

public function ClozeResponse::isValid in Cloze 6

Same name and namespace in other branches
  1. 7 cloze.classes.inc \ClozeResponse::isValid()

Implementation of isValid

See also

QuizQuestionResponse#isValid()

File

./cloze.classes.inc, line 251
The main classes for the short answer question type.

Class

ClozeResponse
Extension of QuizQuestionResponse

Code

public function isValid() {

  /*
  if (trim($this->answer) == '') {
    return t('You must provide an answer');
  }
  */
  return TRUE;
}