1 This files describes API changes for question import/export format plugins.
5 * This plugin type now supports cron in the standard way. If required, Create a
6 lib.php file containing
7 function qformat_mypluginname_cron() {};
9 === 2.1.5 / 2.2.3 / 2.3 ===
11 * The readquestions method used to take a second argument $context. However, at
12 the point where this method was called, it was impossible to know what
13 context the quetsions were going to be saved into, so the value could be
14 wrong. Also, none of the standard question formats were using this argument,
15 so it was removed. See MDL-32220.
19 * The plugin name used to be defined in a string called the same thing as the
20 format, with assoicated help strings, for example:
22 $string['aiken'] = 'Aiken format';
23 $string['aiken_help'] = 'This is a simple format ...';
24 $string['aiken_link'] = 'qformat/aiken';
26 This needs to be changed to use the standard string name pluginname, as for
29 $string['pluginname'] = 'Aiken format';
30 $string['pluginname_help'] = 'This is a simple format ...';
31 $string['pluginname_link'] = 'qformat/aiken';