Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
backup_subplugin Class Reference

Class implementing the subplugins support for moodle2 backups. More...

Inheritance diagram for backup_subplugin:
backup_assignfeedback_comments_subplugin backup_assignfeedback_editpdf_subplugin backup_assignfeedback_file_subplugin backup_assignment_offline_subplugin backup_assignsubmission_file_subplugin backup_assignsubmission_onlinetext_subplugin backup_ltiservice_gradebookservices_subplugin backup_mod_quiz_access_subplugin backup_tool_log_logstore_subplugin backup_workshopeval_best_subplugin backup_workshopform_accumulative_subplugin backup_workshopform_comments_subplugin backup_workshopform_numerrors_subplugin backup_workshopform_rubric_subplugin

Public Member Functions

 __construct ($subplugintype, $subpluginname, $optigroup, $step)
 
 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
 

Detailed Description

Class implementing the subplugins support for moodle2 backups.

TODO: Finish phpdocs TODO: Make this subclass of backup_plugin


The documentation for this class was generated from the following file: