HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/8.0.30
System: Linux multiplicar 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64
User: root (0)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: /var/www/html/ceade.tocsa.com.py/question/format/upgrade.txt
This files describes API changes for question import/export format plugins.

=== 3.11.7 ===

* The new validate_file() method in question/format.php can be overwritten
  to implement more expensive or detailed file integrity checks. It is called on imported files.

=== 3.6 ===

* Saving question category descriptions (info) is now supported in Moodle XML import/export format.
New xml-structure snippet for a question category:
<question type="category">
    <category>
        <text>${$contexttypename}$/{$category_path}</text>
    </category>
    <info format="{$format}">
        <text>{$info_categorydescription}</text>
    </info>
</question>
* The method importprocess() in question/format.php no longer accepts $category as a parameter.
If required in a plugin then please override this method.

=== 2.3 ===

* This plugin type now supports cron in the standard way. If required, Create a
  lib.php file containing
function qformat_mypluginname_cron() {};

=== 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.

=== 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';