abstract public function QuizQuestion::validateNode in OG Quiz 7
Provides validation for question before it is created.
When a new question is created and initially submited, this is called to validate that the settings are acceptible.
Parameters
$form: The processed form.
1 method overrides QuizQuestion::validateNode()
- LongAnswerQuestion::validateNode in includes/
og_long_answer.php - Implementation of validateNode
File
- includes/
og_quiz_question.php, line 500 - Classes used in the Quiz Question module.
Class
- QuizQuestion
- A base implementation of a quiz_question, adding a layer of abstraction between the node API, quiz API and the question types.
Code
public abstract function validateNode(array &$form);