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: 98 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

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


Class: update_autosave_session_content  - X-Ref

Web Service to update an autosave session's content.

execute_parameters()   X-Ref
Returns description of method parameters

return: external_function_parameters

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

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

return: external_single_structure