Moodle  2.2.1
http://www.collinsharper.com
backup_section_task Class Reference
Inheritance diagram for backup_section_task:
Collaboration diagram for backup_section_task:

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

Detailed Description

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.


Constructor & Destructor Documentation

__construct ( name,
sectionid,
plan = null 
)

Constructor - instantiates one object of this class

Definition at line 38 of file backup_section_task.class.php.


Member Function Documentation

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Section tasks have their own directory to write files

Reimplemented from base_task.

Definition at line 58 of file backup_section_task.class.php.

Here is the call graph for this function:


Field Documentation

$sectionid [protected]

Definition at line 33 of file backup_section_task.class.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations