public function QuizQuestion::getQuestionForm in Quiz 6.3
Same name and namespace in other branches
- 6.6 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.
5 methods override QuizQuestion::getQuestionForm()
- 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.
- ShortAnswerQuestion::getQuestionForm in question_types/
short_answer/ short_answer.classes.inc - Get the form that will be displayed to the test-taking user.
- TrueFalseQuestion::getQuestionForm in question_types/
quiz_question/ quiz_question.truefalse.inc - Get the form that will be displayed to the test-taking user.
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);