weekly release 2.3dev
[moodle.git] / question / format / upgrade.txt
CommitLineData
64679179
TH
1This files describes API changes for question import/export format plugins.
2
3=== 2.2 ===
4
5* The plugin name used to be defined in a string called the same thing as the
6format, with assoicated help strings, for example:
7
8$string['aiken'] = 'Aiken format';
9$string['aiken_help'] = 'This is a simple format ...';
10$string['aiken_link'] = 'qformat/aiken';
11
12This needs to be changed to use the standard string name pluginname, as for
13other plugin types.
14
15$string['pluginname'] = 'Aiken format';
16$string['pluginname_help'] = 'This is a simple format ...';
17$string['pluginname_link'] = 'qformat/aiken';
c2f5e2ab
TH
18
19
20=== 2.3 ===
21
22* This plugin type now supports cron in the standard way. If required, Create a
23 lib.php file containing
24function qformat_mypluginname_cron() {};