Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.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.