Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.

Differences Between: [Versions 401 and 403]

(no description)

File Size: 107 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

resume_autosave_session:: (3 methods):
  execute_parameters()
  execute()
  execute_returns()


Class: resume_autosave_session  - X-Ref

Web Service to resume an autosave session.

execute_parameters()   X-Ref
Returns description of method parameters

return: external_function_parameters

execute(int $contextid,string $pagehash,string $pageinstance,string $elementid,?int $draftid)   X-Ref
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.

param: int $contextid The context id of the owner
param: string $pagehash The hash of the page
param: string $pageinstance The instance id of the page
param: string $elementid The id of the element
param: int $draftid The id of the draftid to resume to
return: null

execute_returns()   X-Ref
Describe the return structure of the external service.

return: external_single_structure