restore subplugin class that provides the necessary information needed to restore one workshopform_numerrors subplugin.
More...
|
|
| define_subplugin_structure ($connectionpoint) |
| |
| | launch_after_execute_methods () |
| | after_execute dispatcher for any restore_subplugin class
|
| |
| | launch_after_restore_methods () |
| | The after_restore dispatcher for any restore_subplugin class.
|
| |
|
| log ($message, $level, $a=null, $depth=null, $display=false) |
| | Call the log function from the step.
|
| |
|
| process_workshopform_numerrors_dimension ($data) |
| | Processes the workshopform_numerrors_dimension element.
|
| |
|
| process_workshopform_numerrors_examplegrade ($data) |
| | Processes the workshopform_numerrors_examplegrade element.
|
| |
|
| process_workshopform_numerrors_grade ($data) |
| | Processes the workshopform_numerrors_grade element.
|
| |
|
| process_workshopform_numerrors_map ($data) |
| | Processes the workshopform_numerrors_map element.
|
| |
|
| process_workshopform_numerrors_referencegrade ($data) |
| | Processes the workshopform_numerrors_referencegrade element.
|
| |
|
|
| add_related_files ($component, $filearea, $mappingitemname, $filesctxid=null, $olditemid=null) |
| | Add all the existing file, given their component and filearea and one backup_ids itemname to match with.
|
| |
|
| apply_date_offset ($value) |
| | Apply course startdate offset based in original course startdate and course_offset_startdate setting Note we are using one static cache here, but by restoreid, so it's ok for concurrence/multiple executions in the same request.
|
| |
|
| define_assessment_subplugin_structure () |
| | Returns the paths to be handled by the subplugin at assessment level.
|
| |
|
| define_exampleassessment_subplugin_structure () |
| | Returns the paths to be handled by the subplugin at exampleassessment level.
|
| |
|
| define_referenceassessment_subplugin_structure () |
| | Returns the paths to be handled by the subplugin at referenceassessment level.
|
| |
|
| define_workshop_subplugin_structure () |
| | Returns the paths to be handled by the subplugin at workshop level.
|
| |
|
| get_mapping ($itemname, $oldid) |
| | Return the complete mapping from the given itemname, itemid.
|
| |
| | get_mappingid ($itemname, $oldid, $ifnotfound=false) |
| | Return the new id of a mapping for the given itemname.
|
| |
|
| get_namefor ($name='') |
| | Simple helper function that returns the name for the restore_path_element It's not mandatory to use it but recommended ;-)
|
| |
|
| get_new_parentid ($itemname) |
| | Returns the latest (parent) new id mapped by one pathelement.
|
| |
|
| get_old_parentid ($itemname) |
| | Returns the latest (parent) old id mapped by one pathelement.
|
| |
| | get_pathfor ($path='') |
| | Simple helper function that returns the base (prefix) of the path for the restore_path_element Useful if we used get_recommended_name() in backup.
|
| |
|
| get_restoreid () |
| |
|
| get_setting_value ($name) |
| | Returns the value of one (task/plan) setting.
|
| |
| | set_mapping ($itemname, $oldid, $newid, $restorefiles=false, $filesctxid=null, $parentid=null) |
| | To send ids pairs to backup_ids_table and to store them into paths.
|
| |
restore subplugin class that provides the necessary information needed to restore one workshopform_numerrors subplugin.