Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 3.9.x will end* 10 May 2021 (12 months).
  • Bug fixes for security issues in 3.9.x will end* 8 May 2023 (36 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are 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