| Moodle PHP Documentation 4.1
    Moodle 4.1.19+ (Build: 20250711) (5f47dc23ffc) | 
Instantiable class defining the process of backup structures. More...
 
  
| Public Member Functions | |
| __construct (xml_writer $writer, core\progress\base $progress=null) | |
| Constructor. | |
| 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::core::progress::base$progress | Progress tracker (optional) | 
| backup_structure_processor::post_process_nested_element | ( | base_nested_element | $nested | ) | 
Reimplemented from base_processor.
| backup_structure_processor::pre_process_nested_element | ( | base_nested_element | $nested | ) | 
Reimplemented from base_processor.
| backup_structure_processor::process_attribute | ( | base_attribute | $attribute | ) | 
Reimplemented from base_processor.
| backup_structure_processor::process_final_element | ( | base_final_element | $final | ) | 
Reimplemented from base_processor.
| backup_structure_processor::process_nested_element | ( | base_nested_element | $nested | ) | 
Reimplemented from base_processor.