Test helper class for the randomsamatch question type.
More...
Test helper class for the randomsamatch question type.
- Copyright
- 2013 Jean-Michel Vedrine
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ get_question_editing_form()
static question_test_helper::get_question_editing_form |
( |
| $cat, |
|
|
| $questiondata ) |
|
staticinherited |
Set up a form to create a question in $cat.
This method also sets cat and contextid on $questiondata object.
- Parameters
-
object | $cat | the category |
object | $questiondata | form initialisation requires question data. |
- Return values
-
◆ get_test_questions()
qtype_randomsamatch_test_helper::get_test_questions |
( |
| ) |
|
◆ make_randomsamatch_question_animals()
qtype_randomsamatch_test_helper::make_randomsamatch_question_animals |
( |
| ) |
|
Makes a randomsamatch question similar to the match question returned by make_a_matching_question, but with no 'insect' distractor.
- Return values
-
The documentation for this class was generated from the following file: