Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Base class for course report backup plugins. More...
Public Member Functions | |
define_plugin_structure ($connectionpoint) | |
Protected Member Functions | |
get_plugin_element ($final_elements=null, $conditionparam=null, $conditionvalue=null) | |
Factory method that will return one backup_plugin_element (backup_optigroup_element) with its name automatically calculated, based one the plugin being handled (type, name) | |
get_recommended_name () | |
Simple helper function that suggests one name for the main nested element in plugins It's not mandatory to use it but recommended ;-) | |
get_setting_value ($name) | |
Returns the value of one (task/plan) setting. | |
Protected Attributes | |
string | $connectionpoint |
backup_optigroup_element | $optigroup |
string | $pluginname |
string | $plugintype |
backup_structure_step | $step |
backup_course_task backup_activity_task | $task |
Base class for course report backup plugins.
NOTE: When you back up a course, it potentially may run backup for all course reports. In order to control whether a particular report gets backed up, a course report should make use of the second and third parameters in get_plugin_element().