Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
mod_quiz\external\submit_question_version Class Reference
Inheritance diagram for mod_quiz\external\submit_question_version:

Static Public Member Functions

static execute (int $slotid, int $newversion)
 Set the questions slot parameters to display the question template.
 
static execute_parameters ()
 Parameters for the submit_question_version.
 
static execute_returns ()
 Define the webservice response.
 

Member Function Documentation

◆ execute()

static mod_quiz\external\submit_question_version::execute ( int $slotid,
int $newversion )
static

Set the questions slot parameters to display the question template.

Parameters
int$slotidSlot id to display.
int$newversionthe version to set. 0 means 'always latest'.
Return values
array

◆ execute_parameters()

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

Parameters for the submit_question_version.

Return values
external_function_parameters

◆ execute_returns()

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

Define the webservice response.

Return values
core_external\external_description

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