Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
|
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. | |
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.