Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
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