2009-01-12 21:13:28 +00:00
|
|
|
This files describes API changes in /mod/* - activity modules,
|
|
|
|
information provided here is intended especially for developers.
|
|
|
|
|
|
|
|
=== 2.0 ===
|
|
|
|
|
|
|
|
required changes in code:
|
|
|
|
* use new DML syntax everywhere
|
|
|
|
* use new DDL syntax in db/upgrade.php
|
|
|
|
* replace defaults.php by settings.php and db/install.php
|
|
|
|
* replace STATEMENTS section in db/install.xml by db/install.php
|
2009-11-11 10:35:45 +00:00
|
|
|
* move post installation code from lib.php into db/install.php
|
2009-11-11 10:38:29 +00:00
|
|
|
* move uninstallation code from lib.php to db/uninstall.php
|
2009-01-12 21:13:28 +00:00
|
|
|
* completely rewrite file handling
|
|
|
|
* rewrite backup/restore
|
2009-11-11 10:35:45 +00:00
|
|
|
* rewrite trusttext support - new db table columns needed
|
|
|
|
* migrate all module features from mod_edit.php form to lib.php/modulename_supports() function
|
2009-04-22 21:03:38 +00:00
|
|
|
* implement new gradebook support (legacy 1.8.x grading not supported anymore)
|
2009-11-01 16:48:45 +00:00
|
|
|
* migrate custom resource module subtypes into separate modules
|
2009-11-11 10:39:58 +00:00
|
|
|
* migrate to new comments subsystem
|
2009-11-11 10:40:46 +00:00
|
|
|
* use new $PAGE and $OUTPUT instead of old weblib functions
|
2009-01-12 21:13:28 +00:00
|
|
|
|
|
|
|
optional - no changes needed in older code:
|
|
|
|
* portfolio support
|
|
|
|
* course completion tracking support
|
2009-11-11 10:47:16 +00:00
|
|
|
* add new navigation features
|
2009-01-12 21:13:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TODO: add links to docs
|