|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Namespaces | |
| namespace | workshopform |
Functions | |
| workshopform_numerrors_upgrade_legacy () | |
| workshopform_numerrors_upgrade_element (stdclass $old, $newworkshopid) | |
| workshopform_numerrors_upgrade_grade (stdclass $old, $newassessmentid, stdclass $newdimensioninfo) | |
| workshopform_numerrors_upgrade_legacy_needed () | |
| workshopform_numerrors_upgrade_element | ( | stdclass $ | old, |
| $ | newworkshopid | ||
| ) |
Transforms a given record from workshop_elements_old into an object to be saved into workshopform_numerrors
| stdClass | $old | legacy record from workshop_elements_old |
| int | $newworkshopid | id of the new workshop instance that replaced the previous one |
Definition at line 127 of file upgradelib.php.

| workshopform_numerrors_upgrade_grade | ( | stdclass $ | old, |
| $ | newassessmentid, | ||
| stdclass $ | newdimensioninfo | ||
| ) |
Transforms given grade record
| stdClass | $old | |
| int | $newassessmentid | |
| stdClass | $newdimensioninfo |
Definition at line 160 of file upgradelib.php.

Check if there are some legacy workshop 1.x data to be migrated and upgrade them
This must be called after workshop core migration has finished so that all assessments are already upgraded and tables are correctly renamed.
Definition at line 35 of file upgradelib.php.


Check if the the migration from legacy workshop 1.9 is needed
Definition at line 176 of file upgradelib.php.
