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

Static Public Member Functions

static execute (int $contextid, string $pagehash, string $pageinstance, string $elementid, string $drafttext)
 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\update_autosave_session_content::execute ( int $contextid,
string $pagehash,
string $pageinstance,
string $elementid,
string $drafttext )
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
string$drafttextThe text to store
Return values
null

◆ execute_parameters()

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

Returns description of method parameters.

Return values
external_function_parameters

◆ execute_returns()

static tiny_autosave\external\update_autosave_session_content::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: