|
Moodle
2.2.1
http://www.collinsharper.com
|

Public Member Functions | |
| choose_variant ($maxvariants, $seed) | |
The interface for strategies for controlling which variant of each question is used.
| choose_variant | ( | $ | maxvariants, |
| $ | seed | ||
| ) |
| int | $maxvariants | the num |
| string | $seed | data that can be used to controls how the variant is selected in a semi-random way. |
Implemented in question_variant_pseudorandom_no_repeats_strategy, and question_variant_random_strategy.
