public function QuizQuestion::getQuestionForm in Quiz 6.6
Same name and namespace in other branches
- 6.3 question_types/quiz_question/quiz_question.core.inc \QuizQuestion::getQuestionForm()
- 6.5 question_types/quiz_question/quiz_question.core.inc \QuizQuestion::getQuestionForm()
Get the form that will be displayed to the test-taking user.
Parameters
$node: The question node.
$context: The form context.
Return value
Must return a FAPI array.
7 methods override QuizQuestion::getQuestionForm()
- ChoiceQuestion::getQuestionForm in question_types/
choice/ choice.classes.inc - Generates the question form.
- LongAnswerQuestion::getQuestionForm in question_types/
long_answer/ long_answer.classes.inc - Get the form that will be displayed to the test-taking user.
- MatchingQuestion::getQuestionForm in question_types/
matching/ matching.classes.inc - Get the form that will be displayed to the test-taking user.
- QuizDirectionsQuestion::getQuestionForm in question_types/
quiz_directions/ quiz_directions.classes.inc - Get the form that will be displayed to the test-taking user.
- ScaleQuestion::getQuestionForm in question_types/
scale/ scale.classes.inc - Generates the question form.
File
- question_types/
quiz_question/ quiz_question.core.inc, line 101 - Classes used in the Quiz Question module.
Class
- QuizQuestion
- A Quiz Question. There should be an implementation of this interface for every question type support by Quiz.
Code
public function getQuestionForm($node, $context = NULL);