Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | List of all members
processable Interface Reference

Interface to apply to all the classes we want to be processable by one @base_processor. More...

Inheritance diagram for processable:
backup_attribute backup_final_element backup_nested_element backup_optigroup restore_decode_content restore_log_rule anonymizer_final_element base64_encode_final_element encrypted_final_element mnethosturl_final_element backup_logstore_database_nested_element backup_optigroup_element file_nested_element restore_html_block_decode_content

Public Member Functions

 process ($processor)
 This function will call to the corresponding processor method in other to make them perform the desired tasks. More...
 

Detailed Description

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

Member Function Documentation

◆ process()

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, file_nested_element, restore_decode_content, backup_attribute, backup_final_element, backup_nested_element, backup_optigroup, and backup_optigroup_element.


The documentation for this interface was generated from the following file: