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

| workshopform_comments_upgrade_grade | ( | stdclass $ | old, |
| $ | newassessmentid, | ||
| stdclass $ | newdimensioninfo | ||
| ) |
Transforms given grade record
| stdClass | $old | |
| int | $newassessmentid | |
| stdClass | $newdimensioninfo |
Definition at line 114 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 33 of file upgradelib.php.


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