Add random questions to a quiz.
More...
|
static | execute (int $cmid, int $addonpage, int $randomcount, string $filtercondition='', string $newcategory='', string $parentcategory='',) |
| Add random questions.
|
|
static | execute_parameters () |
| Parameters for the web service function.
|
|
static | execute_returns () |
| Returns description of method result value.
|
|
Add random questions to a quiz.
- Copyright
- 2022 Catalyst IT Australia Pty Ltd
- Author
- Nathan Nguyen natha.nosp@m.nngu.nosp@m.yen@c.nosp@m.atal.nosp@m.yst-a.nosp@m.u.ne.nosp@m.t
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ execute()
static mod_quiz\external\add_random_questions::execute |
( |
int | $cmid, |
|
|
int | $addonpage, |
|
|
int | $randomcount, |
|
|
string | $filtercondition = '', |
|
|
string | $newcategory = '', |
|
|
string | $parentcategory = '' ) |
|
static |
Add random questions.
- Parameters
-
int | $cmid | The cmid of the quiz |
int | $addonpage | The page where random questions will be added to |
int | $randomcount | Number of random questions |
string | $filtercondition | Filter condition |
string | $newcategory | add new category |
string | $parentcategory | parent category of new category |
- Return values
-
◆ execute_parameters()
static mod_quiz\external\add_random_questions::execute_parameters |
( |
| ) |
|
|
static |
Parameters for the web service function.
- Return values
-
external_function_parameters | |
◆ execute_returns()
static mod_quiz\external\add_random_questions::execute_returns |
( |
| ) |
|
|
static |
Returns description of method result value.
- Return values
-
The documentation for this class was generated from the following file: