Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Abstract class defining the needed stuff to execute code on backup. More...
Public Member Functions | |
destroy () | |
Destroy all circular references. More... | |
execute () | |
This function will perform all the actions necessary to achieve the execution of the plan/part/task. More... | |
get_name () | |
log ($message, $level, $a=null, $depth=null, $display=false) | |
This function will be responsible for handling the params, and to call to the corresponding logger->process() once all modifications in params have been performed. More... | |
set_task ($task) | |
Protected Member Functions | |
define_execution () | |
Function that will contain all the code to be executed. More... | |
get_backupid () | |
get_basepath () | |
get_courseid () | |
get_logger () | |
get_setting ($name) | |
get_setting_value ($name) | |
get_settings () | |
Protected API starts here. | |
setting_exists ($name) | |
Protected Attributes | |
$name | |
$task | |
Abstract class defining the needed stuff to execute code on backup.
TODO: Finish phpdocs
|
abstractprotected |
Function that will contain all the code to be executed.
Reimplemented in imscc11_store_backup_file, imscc11_zip_contents, imscc11_backup_convert, create_and_clean_temp_stuff, drop_and_clean_temp_stuff, and create_taskbasepath_directory.
|
inherited |
Destroy all circular references.
It helps PHP 5.2 a lot!
backup_execution_step::execute | ( | ) |
This function will perform all the actions necessary to achieve the execution of the plan/part/task.
Implements executable.
|
inherited |
This function will be responsible for handling the params, and to call to the corresponding logger->process() once all modifications in params have been performed.
Implements loggable.