Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
mod_quiz\external\add_random_questions Class Reference
Inheritance diagram for mod_quiz\external\add_random_questions:

Static Public Member Functions

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.
 

Member Function Documentation

◆ 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$cmidThe cmid of the quiz
int$addonpageThe page where random questions will be added to
int$randomcountNumber of random questions
string$filterconditionFilter condition
string$newcategoryadd new category
string$parentcategoryparent category of new category
Return values
arrayresult

◆ 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
external_value

The documentation for this class was generated from the following file: