mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
26 lines
1.1 KiB
Plaintext
26 lines
1.1 KiB
Plaintext
This files describes API changes in /blocks/* - 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
|
|
* move post instalation code from install() method into db/install.php
|
|
* completely rewrite file handling
|
|
* rewrite backup/restore
|
|
* theme changes: move plugin styles into blocks/xxx/styles.css and use new css markers for images,
|
|
move all images into new blocks/xxx/pix/ directory and use new outputlib api
|
|
old global $THEME is fully replaced by $OUTPUT
|
|
* remove '_utf8' from language pack names, use new {$a} syntax in language packs
|
|
* use 'pluginname' lang pack identifier instead of 'blockname'
|
|
* move cron and version number into standard version.php
|
|
* removed support for old config_global.html, use settings.php
|
|
|
|
optional - no changes needed in older code:
|
|
*
|
|
|
|
|
|
TODO: add links to docs |