|
Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
Instantiable class defining the process of backup structures. More...
Public Member Functions | |
| __construct (xml_writer $writer, core\progress\base $progress=null) | |
| Constructor. More... | |
| get_var ($key) | |
| post_process_nested_element (base_nested_element $nested) | |
| pre_process_nested_element (base_nested_element $nested) | |
| process_attribute (base_attribute $attribute) | |
| process_final_element (base_final_element $final) | |
| process_nested_element (base_nested_element $nested) | |
| set_var ($key, $value) | |
Protected Attributes | |
| core progress base | $progress |
| Progress tracker (null if none) | |
| $vars | |
| $writer | |
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
| backup_structure_processor::__construct | ( | xml_writer | $writer, |
| core\progress\base | $progress = null |
||
| ) |
Constructor.
| xml_writer | $writer | XML writer to save data |
| c |