| Moodle PHP Documentation 4.1
    Moodle 4.1.19+ (Build: 20250711) (5f47dc23ffc) | 
Helper class that will perform all the necessary decoding tasks on restore. More...
| Public Member Functions | |
| __construct ($restoreid, $sourcewwwroot, $targetwwwroot) | |
| add_content ($content) | |
| add_rule ($rule) | |
| decode_content ($content) | |
| Receive content from restore_decode_content objects and apply all the restore_decode_rules to them. | |
| execute () | |
| Visit all the restore_decode_content providers that will cause decode_content() to be called for each content. | |
| Static Public Member Functions | |
| static | register_link_decoders ($processor) | 
| Adds all the course/section/activity/block contents and rules. | |
| Protected Member Functions | |
| precheck_content ($content) | |
| Perform some general checks in content. | |
| Protected Attributes | |
| $contents | |
| $restoreid | |
| $rules | |
| $sourcewwwroot | |
| $targetwwwroot | |
Helper class that will perform all the necessary decoding tasks on restore.
This class will register all the restore_decode_content and restore_decode_rule instances defined by the restore tasks in order to perform the complete decoding of links in the final task of the restore_plan execution.
By visiting each content provider will apply all the defined rules
TODO: Complete phpdocs
| 
 | protected | 
Perform some general checks in content.
Returning false rules processing is skipped