mirror of
https://github.com/moodle/moodle.git
synced 2025-02-15 21:36:58 +01:00
* Support for old non-standard cron for quiz reports dropped. (Standard cron support was added in 2.2 * Cron support added for qbehaviour, qformat and quizacces plugins. * qtypes were already supported in the standard way.
25 lines
757 B
Plaintext
25 lines
757 B
Plaintext
This files describes API changes for question import/export format plugins.
|
|
|
|
=== 2.2 ===
|
|
|
|
* The plugin name used to be defined in a string called the same thing as the
|
|
format, with assoicated help strings, for example:
|
|
|
|
$string['aiken'] = 'Aiken format';
|
|
$string['aiken_help'] = 'This is a simple format ...';
|
|
$string['aiken_link'] = 'qformat/aiken';
|
|
|
|
This needs to be changed to use the standard string name pluginname, as for
|
|
other plugin types.
|
|
|
|
$string['pluginname'] = 'Aiken format';
|
|
$string['pluginname_help'] = 'This is a simple format ...';
|
|
$string['pluginname_link'] = 'qformat/aiken';
|
|
|
|
|
|
=== 2.3 ===
|
|
|
|
* This plugin type now supports cron in the standard way. If required, Create a
|
|
lib.php file containing
|
|
function qformat_mypluginname_cron() {};
|