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.

All the steps to restore mod_h5pactivity are defined here.

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

Defines 1 class

restore_h5pactivity_activity_structure_step:: (5 methods):
  define_structure()
  process_h5pactivity()
  process_h5pactivity_attempt()
  process_h5pactivity_attempt_result()
  after_execute()


Class: restore_h5pactivity_activity_structure_step  - X-Ref

Defines the structure step to restore one mod_h5pactivity activity.

define_structure()   X-Ref
Defines the structure to be restored.

return: restore_path_element[].

process_h5pactivity(array $data)   X-Ref
Processes the h5pactivity restore data.

param: array $data Parsed element data.

process_h5pactivity_attempt(array $data)   X-Ref
Processes the h5pactivity_attempts restore data.

param: array $data Parsed element data.

process_h5pactivity_attempt_result(array $data)   X-Ref
Processes the h5pactivity_attempts_results restore data.

param: array $data Parsed element data.

after_execute()   X-Ref
Defines post-execution actions.