|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| __construct ($name, $sectionid, $plan=null) | |
| get_sectionid () | |
| get_taskbasepath () | |
| build () | |
| execute () | |
| get_setting ($name) | |
Protected Member Functions | |
| define_settings () | |
Protected Attributes | |
| $sectionid | |
section task that provides all the properties and common steps to be performed when one section is being backup
TODO: Finish phpdocs
Definition at line 31 of file backup_section_task.class.php.
| __construct | ( | $ | name, |
| $ | sectionid, | ||
| $ | plan = null |
||
| ) |
Constructor - instantiates one object of this class
Definition at line 38 of file backup_section_task.class.php.
| build | ( | ) |
Create all the steps that will be part of this task
Reimplemented from base_task.
Definition at line 66 of file backup_section_task.class.php.

| define_settings | ( | ) | [protected] |
Define the common setting that any backup section will have
Reimplemented from base_task.
Definition at line 137 of file backup_section_task.class.php.

| execute | ( | ) |
Exceptionally override the execute method, so, based in the section_included setting, we are able to skip the execution of one task completely
Reimplemented from base_task.
Definition at line 96 of file backup_section_task.class.php.

| get_sectionid | ( | ) |
Definition at line 51 of file backup_section_task.class.php.
| get_setting | ( | $ | name | ) |
Specialisation that, first of all, looks for the setting within the task with the the prefix added and later, delegates to parent without adding anything
Reimplemented from base_task.
Definition at line 112 of file backup_section_task.class.php.
| get_taskbasepath | ( | ) |
Section tasks have their own directory to write files
Reimplemented from base_task.
Definition at line 58 of file backup_section_task.class.php.

$sectionid [protected] |
Definition at line 33 of file backup_section_task.class.php.