[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 This files describes API changes for question import/export format plugins. 2 3 === 2.3 === 4 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() {}; 8 9 === 2.1.5 / 2.2.3 / 2.3 === 10 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. 16 17 === 2.2 === 18 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: 21 22 $string['aiken'] = 'Aiken format'; 23 $string['aiken_help'] = 'This is a simple format ...'; 24 $string['aiken_link'] = 'qformat/aiken'; 25 26 This needs to be changed to use the standard string name pluginname, as for 27 other plugin types. 28 29 $string['pluginname'] = 'Aiken format'; 30 $string['pluginname_help'] = 'This is a simple format ...'; 31 $string['pluginname_link'] = 'qformat/aiken';
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |