Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

The task that provides all the steps to perform a complete backup is defined here.

Copyright: 2020 Ferran Recio <ferran@moodle.com>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 70 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

backup_h5pactivity_activity_task:: (3 methods):
  define_my_settings()
  define_my_steps()
  encode_content_links()


Class: backup_h5pactivity_activity_task  - X-Ref

The class provides all the settings and steps to perform one complete backup of mod_h5pactivity.

define_my_settings()   X-Ref
Defines particular settings for the plugin.


define_my_steps()   X-Ref
Defines particular steps for the backup process.


encode_content_links($content)   X-Ref
Codes the transformations to perform in the activity in order to get transportable (encoded) links.

param: string $content content to encode.
return: string encoded string