Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
Parent class of all the logstore subplugin implementations. More...
Public Member Functions | |
define_subplugin_structure ($connectionpoint) | |
Protected Member Functions | |
get_recommended_name () | |
Simple helper function that suggests one name for the main nested element in subplugins It's not mandatory to use it but recommended ;-) | |
get_setting_value ($name) | |
Returns the value of one (task/plan) setting. | |
get_subplugin_element ($final_elements=null, $conditionparam=null, $conditionvalue=null) | |
Factory method that will return one backup_subplugin_element (backup_optigroup_element) with its name automatically calculated, based one the subplugin being handled (type, name) | |
Protected Attributes | |
$connectionpoint | |
$optigroup | |
$step | |
$subpluginname | |
$subplugintype | |
$task | |
Parent class of all the logstore subplugin implementations.
Note: While this intermediate class is not strictly required and all the subplugin implementations can extend directly backup_subplugin, it is always recommended to have it, both for better testing and also for sharing code between all subplugins.