Defines backup_section_task class
Copyright: | 2010 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com} |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 172 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 1 time |
Includes or requires: | 0 files |
backup_section_task:: (7 methods):
__construct()
get_sectionid()
get_taskbasepath()
build()
execute()
get_setting()
define_settings()
Class: backup_section_task - X-Ref
section task that provides all the properties and common steps to be performed__construct($name, $sectionid, $plan = null) X-Ref |
Constructor - instantiates one object of this class |
get_sectionid() X-Ref |
No description |
get_taskbasepath() X-Ref |
Section tasks have their own directory to write files |
build() X-Ref |
Create all the steps that will be part of this task |
execute() X-Ref |
Exceptionally override the execute method, so, based in the section_included setting, we are able to skip the execution of one task completely |
get_setting($name) X-Ref |
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 |
define_settings() X-Ref |
Define the common setting that any backup section will have |