MDL-29808 qformats: use standard pluginname string and add version.php
AMOS BEGIN
MOV [aiken,qformat_aiken],[pluginname,qformat_aiken]
MOV [aiken_help,qformat_aiken],[pluginname_help,qformat_aiken]
MOV [aiken_link,qformat_aiken],[pluginname_link,qformat_aiken]
MOV [blackboard,qformat_blackboard],[pluginname,qformat_blackboard]
MOV [blackboard_help,qformat_blackboard],[pluginname_help,qformat_blackboard]
MOV [blackboard_six,qformat_blackboard_six],[pluginname,qformat_blackboard_six]
MOV [blackboard_six_help,qformat_blackboard_six],[pluginname_help,qformat_blackboard_six]
MOV [examview,qformat_examview],[pluginname,qformat_examview]
MOV [examview_help,qformat_examview],[pluginname_help,qformat_examview]
MOV [gift_help,qformat_gift],[pluginname_help,qformat_gift]
MOV [gift_link,qformat_gift],[pluginname_link,qformat_gift]
MOV [learnwise,qformat_learnwise],[pluginname,qformat_learnwise]
MOV [learnwise_help,qformat_learnwise],[pluginname_help,qformat_learnwise]
MOV [missingword,qformat_missingword],[pluginname,qformat_missingword]
MOV [missingword_help,qformat_missingword],[pluginname_help,qformat_missingword]
MOV [missingword_link,qformat_missingword],[pluginname_link,qformat_missingword]
MOV [multianswer,qformat_multianswer],[pluginname,qformat_multianswer]
MOV [multianswer_help,qformat_multianswer],[pluginname_help,qformat_multianswer]
MOV [multianswer_link,qformat_multianswer],[pluginname_link,qformat_multianswer]
MOV [webct_help,qformat_webct],[pluginname_help,qformat_webct]
MOV [webct_link,qformat_webct],[pluginname_link,qformat_webct]
MOV [xhtml,qformat_xhtml],[pluginname,qformat_xhtml]
MOV [xhtml_help,qformat_xhtml],[pluginname_help,qformat_xhtml]
MOV [xhtml_link,qformat_xhtml],[pluginname_link,qformat_xhtml]
MOV [xml_help,qformat_xml],[pluginname_help,qformat_xml]
MOV [xml_link,qformat_xml],[pluginname_link,qformat_xml]
AMOS END
2011-11-03 11:16:14 +00:00
|
|
|
This files describes API changes for question import/export format plugins.
|
|
|
|
|
2012-11-30 11:41:01 +08:00
|
|
|
=== 2.3 ===
|
|
|
|
|
|
|
|
* This plugin type now supports cron in the standard way. If required, Create a
|
|
|
|
lib.php file containing
|
|
|
|
function qformat_mypluginname_cron() {};
|
|
|
|
|
2012-03-27 17:41:14 +01:00
|
|
|
=== 2.1.5 / 2.2.3 / 2.3 ===
|
|
|
|
|
|
|
|
* The readquestions method used to take a second argument $context. However, at
|
|
|
|
the point where this method was called, it was impossible to know what
|
|
|
|
context the quetsions were going to be saved into, so the value could be
|
|
|
|
wrong. Also, none of the standard question formats were using this argument,
|
|
|
|
so it was removed. See MDL-32220.
|
|
|
|
|
MDL-29808 qformats: use standard pluginname string and add version.php
AMOS BEGIN
MOV [aiken,qformat_aiken],[pluginname,qformat_aiken]
MOV [aiken_help,qformat_aiken],[pluginname_help,qformat_aiken]
MOV [aiken_link,qformat_aiken],[pluginname_link,qformat_aiken]
MOV [blackboard,qformat_blackboard],[pluginname,qformat_blackboard]
MOV [blackboard_help,qformat_blackboard],[pluginname_help,qformat_blackboard]
MOV [blackboard_six,qformat_blackboard_six],[pluginname,qformat_blackboard_six]
MOV [blackboard_six_help,qformat_blackboard_six],[pluginname_help,qformat_blackboard_six]
MOV [examview,qformat_examview],[pluginname,qformat_examview]
MOV [examview_help,qformat_examview],[pluginname_help,qformat_examview]
MOV [gift_help,qformat_gift],[pluginname_help,qformat_gift]
MOV [gift_link,qformat_gift],[pluginname_link,qformat_gift]
MOV [learnwise,qformat_learnwise],[pluginname,qformat_learnwise]
MOV [learnwise_help,qformat_learnwise],[pluginname_help,qformat_learnwise]
MOV [missingword,qformat_missingword],[pluginname,qformat_missingword]
MOV [missingword_help,qformat_missingword],[pluginname_help,qformat_missingword]
MOV [missingword_link,qformat_missingword],[pluginname_link,qformat_missingword]
MOV [multianswer,qformat_multianswer],[pluginname,qformat_multianswer]
MOV [multianswer_help,qformat_multianswer],[pluginname_help,qformat_multianswer]
MOV [multianswer_link,qformat_multianswer],[pluginname_link,qformat_multianswer]
MOV [webct_help,qformat_webct],[pluginname_help,qformat_webct]
MOV [webct_link,qformat_webct],[pluginname_link,qformat_webct]
MOV [xhtml,qformat_xhtml],[pluginname,qformat_xhtml]
MOV [xhtml_help,qformat_xhtml],[pluginname_help,qformat_xhtml]
MOV [xhtml_link,qformat_xhtml],[pluginname_link,qformat_xhtml]
MOV [xml_help,qformat_xml],[pluginname_help,qformat_xml]
MOV [xml_link,qformat_xml],[pluginname_link,qformat_xml]
AMOS END
2011-11-03 11:16:14 +00:00
|
|
|
=== 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';
|