Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
|
Abstract class defining the needed stuf for one backup step. More...
Public Member Functions | |
__construct ($name, $task=null) | |
Constructor - instantiates one object of this class. | |
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) | |
Protected Attributes | |
string | $name |
One simple name for identification purposes. | |
base_task null | $task |
Task this is part of. | |
Abstract class defining the needed stuf for one backup step.
TODO: Finish phpdocs
backup_step::__construct | ( | $name, | |
$task = null ) |
Constructor - instantiates one object of this class.
Reimplemented from base_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.
Implemented in backup_activity_task, backup_execution_step, backup_plan, backup_section_task, backup_structure_step, base_plan, base_task, restore_activity_task, restore_execution_step, restore_plan, restore_section_task, and restore_structure_step.
|
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.