Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
backup_factory Class Reference

Non instantiable factory class providing different backup object instances. More...

Static Public Member Functions

static build_plan ($controller)
 Dispatches the creation of the @backup_plan to the proper format builder.
 
static get_backup_activity_task ($format, $moduleid)
 Given one format and one course module id, return the corresponding backup_xxxx_activity_task()
 
static get_backup_block_task ($format, $blockid, $moduleid=null)
 Given one format, one block id and, optionally, one moduleid, return the corresponding backup_xxx_block_task()
 
static get_backup_course_task ($format, $courseid)
 Given one format and one course id, return the corresponding backup_course_task()
 
static get_backup_section_task ($format, $sectionid)
 Given one format and one section id, return the corresponding backup_section_task()
 
static get_destination_chain ($type, $id, $mode, $execution)
 
static get_logger_chain ($interactive, $execution, $backupid)
 

Detailed Description

Non instantiable factory class providing different backup object instances.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

This class contains various methods available in order to easily create different parts of the backup architecture in an easy way

TODO: Finish phpdocs


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