Search moodle.org's
Developer Documentation

See Release Notes

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

Differences Between: [Versions 401 and 402]

(no description)

File Size: 94 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