Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
tiny_autosave\external\reset_autosave_session Class Reference
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

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: