Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
processable Interface Reference

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

Inheritance diagram for processable:

Public Member Functions

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

Detailed Description

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

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

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


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