|
Moodle
2.2.1
http://www.collinsharper.com
|


Protected Member Functions | |
| define_execution () | |
Execution step that, *conditionally* (if there isn't preloaded information), will load all the needed roles to backup_temp_ids. They will be stored with "role" itemname. Also it will perform one automatic mapping to roles existing in the target site, based in permissions of the user performing the restore, archetypes and other bits. At the end, each original role will have its associated target role or 0 if it's going to be skipped. Note we wrap everything over one restore_dbops method, as far as the same stuff is going to be also executed by restore prechecks
Definition at line 618 of file restore_stepslib.php.
| define_execution | ( | ) | [protected] |
Function that will contain all the code to be executed
Reimplemented from restore_execution_step.
Definition at line 620 of file restore_stepslib.php.
