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


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 | |
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.
| __construct | ( | xml_writer $ | writer | ) |
Definition at line 40 of file backup_structure_processor.class.php.
| get_var | ( | $ | key | ) |
Definition at line 52 of file backup_structure_processor.class.php.

| post_process_nested_element | ( | base_nested_element $ | nested | ) |
Reimplemented from base_processor.
Definition at line 83 of file backup_structure_processor.class.php.

| pre_process_nested_element | ( | base_nested_element $ | nested | ) |
Reimplemented from base_processor.
Definition at line 59 of file backup_structure_processor.class.php.

| process_attribute | ( | base_attribute $ | attribute | ) |
Reimplemented from base_processor.
Definition at line 101 of file backup_structure_processor.class.php.

| process_final_element | ( | base_final_element $ | final | ) |
Reimplemented from base_processor.
Definition at line 88 of file backup_structure_processor.class.php.

| process_nested_element | ( | base_nested_element $ | nested | ) |
Reimplemented from base_processor.
Definition at line 68 of file backup_structure_processor.class.php.

| set_var | ( | $ | key, |
| $ | value | ||
| ) |
Definition at line 45 of file backup_structure_processor.class.php.
$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.