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.

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

(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