Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Differences Between: [Versions 401 and 402] [Versions 401 and 403]

(no description)

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

Defines 1 class

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


Class: reset_autosave_session  - X-Ref

Web Service to reset the autosave session.

execute_parameters()   X-Ref
Returns description of method parameters

return: external_function_parameters

execute(int $contextid,string $pagehash,string $pageinstance,string $elementid)   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
return: null

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

return: external_single_structure