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

Static Public Member Functions

static execute (int $quizid, array $slotsdata)
 Update the properties of one or more slots in a quiz.
 
static execute_parameters ()
 Declare the method parameters.
 
static execute_returns ()
 Define the webservice response.
 

Member Function Documentation

◆ execute()

static mod_quiz\external\update_slots::execute ( int $quizid,
array $slotsdata )
static

Update the properties of one or more slots in a quiz.

Parameters
int$quizidthe id of the quiz to update slots in.
array$slotsdatalist of slots update. Must have properties id, any any other properties to change.

◆ execute_parameters()

static mod_quiz\external\update_slots::execute_parameters ( )
static

Declare the method parameters.

Return values
external_function_parameters

◆ execute_returns()

static mod_quiz\external\update_slots::execute_returns ( )
static

Define the webservice response.

Return values
external_description|nullalways null.

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