Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
|
Delete the temp dir used by backup/restore (conditionally) and drop temp ids table. More...
Public Member Functions | |
destroy () | |
Destroy all circular references. | |
execute () | |
This function will perform all the actions necessary to achieve the execution of the plan/part/task. | |
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. | |
set_task ($task) | |
skip_cleaning_temp_dir ($skip) | |
Protected Member Functions | |
define_execution () | |
Function that will contain all the code to be executed. | |
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 | |
string | $name |
One simple name for identification purposes. | |
$skipcleaningtempdir = false | |
base_task null | $task |
Task this is part of. | |
Delete the temp dir used by backup/restore (conditionally) and drop temp ids table.
Note we delete the directory but not the corresponding log file that will be there until cron cleans it up.
|
protected |
Function that will contain all the code to be executed.
Reimplemented from backup_execution_step.
|
inherited |
Destroy all circular references.
It helps PHP 5.2 a lot!
|
inherited |
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.