Web service method for re-opening a quiz attempt.
More...
|
| static | execute (int $attemptid) |
| | Re-opening a submitted attempt method implementation.
|
| |
| static | execute_parameters () |
| | Declare the method parameters.
|
| |
| static | execute_returns () |
| | Define the webservice response.
|
| |
Web service method for re-opening a quiz attempt.
The use must have the 'mod/quiz:reopenattempts' capability and the attempt must (at least for now) be in the 'Never submitted' state (quiz_attempt\ABANDONED).
- Copyright
- 2023 The Open University
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ execute()
| static mod_quiz\external\reopen_attempt::execute |
( |
int | $attemptid | ) |
|
|
static |
Re-opening a submitted attempt method implementation.
- Parameters
-
| int | $attemptid | the id of the attempt to reopen. |
◆ execute_parameters()
| static mod_quiz\external\reopen_attempt::execute_parameters |
( |
| ) |
|
|
static |
Declare the method parameters.
- Return values
-
| external_function_parameters | |
◆ execute_returns()
| static mod_quiz\external\reopen_attempt::execute_returns |
( |
| ) |
|
|
static |
Define the webservice response.
- Return values
-
| external_description|null | always null. |
The documentation for this class was generated from the following file: