|
Moodle
2.2.1
http://www.collinsharper.com
|
Static Public Member Functions | |
| static | get_destination_chain ($type, $id, $mode, $execution) |
| static | get_logger_chain ($interactive, $execution, $backupid) |
| static | get_backup_activity_task ($format, $moduleid) |
| static | get_backup_block_task ($format, $blockid, $moduleid=null) |
| static | get_backup_section_task ($format, $sectionid) |
| static | get_backup_course_task ($format, $courseid) |
| static | build_plan ($controller) |
Non instantiable factory class providing different backup object instances
This class contains various methods available in order to easily create different parts of the backup architecture in an easy way
TODO: Finish phpdocs
Definition at line 33 of file backup_factory.class.php.
| static build_plan | ( | $ | controller | ) | [static] |
Dispatches the creation of the to the proper format builder
Definition at line 162 of file backup_factory.class.php.

| static get_backup_activity_task | ( | $ | format, |
| $ | moduleid | ||
| ) | [static] |
Given one format and one course module id, return the corresponding backup_xxxx_activity_task()
Definition at line 99 of file backup_factory.class.php.


| static get_backup_block_task | ( | $ | format, |
| $ | blockid, | ||
| $ | moduleid = null |
||
| ) | [static] |
Given one format, one block id and, optionally, one moduleid, return the corresponding backup_xxx_block_task()
Definition at line 113 of file backup_factory.class.php.

| static get_backup_course_task | ( | $ | format, |
| $ | courseid | ||
| ) | [static] |
Given one format and one course id, return the corresponding backup_course_task()
Definition at line 148 of file backup_factory.class.php.

| static get_backup_section_task | ( | $ | format, |
| $ | sectionid | ||
| ) | [static] |
Given one format and one section id, return the corresponding backup_section_task()
Definition at line 134 of file backup_factory.class.php.

| static get_destination_chain | ( | $ | type, |
| $ | id, | ||
| $ | mode, | ||
| $ | execution | ||
| ) | [static] |
| static get_logger_chain | ( | $ | interactive, |
| $ | execution, | ||
| $ | backupid | ||
| ) | [static] |
Definition at line 39 of file backup_factory.class.php.

