Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
|
Class extending standard backup_plugin in order to implement some helper methods related with the course formats (format plugin) More...
Public Member Functions | |
__construct ($plugintype, $pluginname, $optigroup, $step) | |
backup_plugin constructor. | |
define_plugin_structure ($connectionpoint) | |
Protected Member Functions | |
get_format_condition () | |
Return the condition encapsulated into sqlparam format to get evaluated by value, not by path nor processor setting. | |
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 |
$courseformat | |
backup_optigroup_element | $optigroup |
string | $pluginname |
string | $plugintype |
backup_structure_step | $step |
backup_course_task backup_activity_task | $task |
Class extending standard backup_plugin in order to implement some helper methods related with the course formats (format plugin)
TODO: Finish phpdocs
backup_format_plugin::__construct | ( | $plugintype, | |
$pluginname, | |||
$optigroup, | |||
$step ) |
backup_plugin constructor.
string | $plugintype | |
string | $pluginname | |
backup_optigroup_element | $optigroup | |
backup_structure_step | $step |
Reimplemented from backup_plugin.