Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Helper class used to restore logs, converting all the information as needed. More...
Public Member Functions | |
__construct ($module, $action, $urlread, $inforead, $modulewrite=null, $actionwrite=null, $urlwrite=null, $infowrite=null) | |
get_key_name () | |
process ($inputlog) | |
This function will call to the corresponding processor method in other to make them perform the desired tasks. More... | |
set_fixed_values ($values) | |
set_restoreid ($restoreid) | |
Protected Attributes | |
$action | |
$actionwrite | |
$allpairs | |
$fixedvalues | |
$inforead | |
$inforeadregexp | |
$infotokens | |
$infowrite | |
$module | |
$modulewrite | |
$restoreid | |
$urlread | |
$urlreadregexp | |
$urltokens | |
$urlwrite | |
Helper class used to restore logs, converting all the information as needed.
This class allows each restore task to specify which logs (by action) will be handled on restore and which transformations will be performed in order to accomodate them into their new destination
TODO: Complete phpdocs
restore_log_rule::process | ( | $processor | ) |
This function will call to the corresponding processor method in other to make them perform the desired tasks.
Implements processable.