|
Moodle PHP Documentation 4.5
Moodle 4.5.5+ (Build: 20250711) (ce34e8ff087)
|
A question_variant_selection_strategy that is completely random. More...
Public Member Functions | |
| choose_variant ($maxvariants, $seed) | |
A question_variant_selection_strategy that is completely random.
| question_variant_random_strategy::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. |
| int | the variant to use, a number betweeb 1 and $maxvariants inclusive. |
Implements question_variant_selection_strategy.