Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
mod_quiz\external\get_reopen_attempt_confirmation Class Reference
Inheritance diagram for mod_quiz\external\get_reopen_attempt_confirmation:

Static Public Member Functions

static execute (int $attemptid)
 Check a quiz attempt state, and return a confirmation message method implementation.
 
static execute_parameters ()
 Declare the method parameters.
 
static execute_returns ()
 Define the webservice response.
 

Member Function Documentation

◆ execute()

static mod_quiz\external\get_reopen_attempt_confirmation::execute ( int $attemptid)
static

Check a quiz attempt state, and return a confirmation message method implementation.

Parameters
int$attemptidthe id of the attempt to reopen.
Return values
stringa suitable confirmation message (HTML), if the attempt is suitable to be reopened.
Exceptions
Exceptionan appropriate exception if the attempt cannot be reopened now.

◆ execute_parameters()

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

Declare the method parameters.

Return values
external_function_parameters

◆ execute_returns()

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

Define the webservice response.

Return values
external_description

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