Merge branch 'MDL-70326-MOODLE_310_STABLE' of https://github.com/durzo/moodle into...
[moodle.git] / question / format / README.txt
CommitLineData
aa9bdbe3
TH
1Question import/export formats
2==============================
84769fd8 3
aa9bdbe3
TH
4This directory contains plug-ins to supprt importing and exporting questions in
5a variety of formats.
84769fd8 6
aa9bdbe3
TH
7Each sub-module must contain at least a format.php file containing a class that
8contains functions for reading, writing, importing and exporting questions.
84769fd8 9
aa9bdbe3
TH
10For correct operation the class name must be based on the name of the plugin.
11For example:
84769fd8 12
aa9bdbe3 13plugin: webct
aeb15530 14class: class qformat_webct extends qformat_default {
84769fd8 15
aeb15530 16Most of them are based on the class found in question/format.php.
84769fd8 17See the comments therein for more information.