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.

Differences Between: [Versions 310 and 311] [Versions 39 and 311]

(no description)

Copyright: 2010 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com}
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 278 lines (11 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 classes


Class: controller_test  - X-Ref

Tests for the backup and restore controller classes.

setUp()   X-Ref
No description

test_restore_controller_get_copy()   X-Ref
Test get_copy


test_restore_controller_copy_without_copydata()   X-Ref
Test instantiating a restore controller for a course copy without providing copy data.


test_backup_controller()   X-Ref
No description

test_backup_controller_include_files()   X-Ref
No description

test_backup_controller_set_kept_roles()   X-Ref
Test set kept roles method.


test_restore_controller_is_executing()   X-Ref
Tests the restore_controller.


test_restore_controller_prepare_copy()   X-Ref
Test prepare copy method.


test_restore_of_deadlock_causing_backup()   X-Ref
Test restore of deadlock causing backup.


Class: core_backup_progress_restore_is_executing  - X-Ref

Progress class that records the result of restore_controller::is_executing calls.

update_progress()   X-Ref
No description

Class: mock_backup_controller  - X-Ref

save_controller($includeobj = true, $cleanobj = false)   X-Ref
No description