Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
tiny_autosave\external\reset_autosave_session Class Reference

Web Service to reset the autosave session. More...

Inheritance diagram for tiny_autosave\external\reset_autosave_session:

Static Public Member Functions

static execute (int $contextid, string $pagehash, string $pageinstance, string $elementid)
 Reset the autosave entry for this autosave instance.
 
static execute_parameters ()
 Returns description of method parameters.
 
static execute_returns ()
 Describe the return structure of the external service.
 

Detailed Description

Web Service to reset the autosave session.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ execute()

static tiny_autosave\external\reset_autosave_session::execute ( int $contextid,
string $pagehash,
string $pageinstance,
string $elementid )
static

Reset the autosave entry for this autosave instance.

If not matching autosave area could be found, the function will silently return and this is not treated as an error condition.

Parameters
int$contextidThe context id of the owner
string$pagehashThe hash of the page
string$pageinstanceThe instance id of the page
string$elementidThe id of the element
Return values
null

◆ execute_parameters()

static tiny_autosave\external\reset_autosave_session::execute_parameters ( )
static

Returns description of method parameters.

Return values
external_function_parameters

◆ execute_returns()

static tiny_autosave\external\reset_autosave_session::execute_returns ( )
static

Describe the return structure of the external service.

Return values
external_single_structure

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