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

Public Member Functions

 __construct (xml_writer $writer)
 set_var ($key, $value)
 get_var ($key)
 pre_process_nested_element (base_nested_element $nested)
 process_nested_element (base_nested_element $nested)
 post_process_nested_element (base_nested_element $nested)
 process_final_element (base_final_element $final)
 process_attribute (base_attribute $attribute)

Protected Attributes

 $writer
 $vars

Detailed Description

Instantiable class defining the process of backup structures

This class will process the given backup structure (nested/final/attribute) based on its definition, triggering as many actions as necessary (pre/post triggers, ids annotations, deciding based on settings, xml output...). Somehow one visitor pattern to allow backup structures to work with nice decoupling

Definition at line 35 of file backup_structure_processor.class.php.


Constructor & Destructor Documentation

__construct ( xml_writer writer)

Definition at line 40 of file backup_structure_processor.class.php.


Member Function Documentation

get_var ( key)

Definition at line 52 of file backup_structure_processor.class.php.

Here is the caller graph for this function:

Reimplemented from base_processor.

Definition at line 83 of file backup_structure_processor.class.php.

Here is the call graph for this function:

Reimplemented from base_processor.

Definition at line 59 of file backup_structure_processor.class.php.

Here is the call graph for this function:

Reimplemented from base_processor.

Definition at line 101 of file backup_structure_processor.class.php.

Here is the call graph for this function:

Reimplemented from base_processor.

Definition at line 88 of file backup_structure_processor.class.php.

Here is the call graph for this function:

Reimplemented from base_processor.

Definition at line 68 of file backup_structure_processor.class.php.

Here is the call graph for this function:

set_var ( key,
value 
)

Definition at line 45 of file backup_structure_processor.class.php.


Field Documentation

$vars [protected]

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

$writer [protected]

Definition at line 37 of file backup_structure_processor.class.php.


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