Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
|
Interface to apply to all the classes we want to be processable by one @base_processor. More...
Public Member Functions | |
process ($processor) | |
This function will call to the corresponding processor method in other to make them perform the desired tasks. | |
Interface to apply to all the classes we want to be processable by one @base_processor.
Any class being part of one backup/restore structure must implement this interface in order to be able to be processed by a given processor (visitor pattern)
TODO: Finish phpdocs
processable::process | ( | $processor | ) |
This function will call to the corresponding processor method in other to make them perform the desired tasks.
Implemented in restore_log_rule, restore_decode_content, backup_attribute, backup_final_element, backup_nested_element, backup_optigroup, and backup_optigroup_element.