Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/mod/scorm/db/upgrade.php File Reference

Go to the source code of this file.

Namespaces

namespace  mod
 

Local Library of functions for module scorm.


Functions

 xmldb_scorm_upgrade ($oldversion)

Function Documentation

xmldb_scorm_upgrade ( oldversion)

moodle_database $DB

Parameters:
int$oldversion
Returns:
bool

Launch add field whatgrade

fix bad usage of whatgrade/grading method.

Define field scormtype to be added to scorm

Launch add field scormtype

scorm savepoint reached

Define field sha1hash to be added to scorm

Launch add field sha1hash

scorm savepoint reached

Define field revision to be added to scorm

Launch add field revision

scorm savepoint reached

scorm savepoint reached

scorm savepoint reached

new file storage upgrade code ///

scorm savepoint reached

Define new fields forcecompleted, forcenewattempt, displayattemptstatus, and displaycoursestructure to be added to scorm

scorm savepoint reached

scorm savepoint reached

scorm savepoint reached

scorm savepoint reached

scorm savepoint reached

Rename field summary on table scorm to intro

Launch rename field summary

scorm savepoint reached

Define field introformat to be added to scorm

Launch add field introformat

scorm savepoint reached

Define field introformat to be added to scorm

Launch add field introformat

scorm savepoint reached

fix bad usage of whatgrade/grading method.

scorm savepoint reached

scorm savepoint reached

Definition at line 32 of file upgrade.php.

Here is the call graph for this function:

 All Data Structures Namespaces Files Functions Variables Enumerations