You are here

README.txt in Quiz 6.6

FILE FORMATS FOR QUESTION IMPORT/EXPORT
------------------------------------

This directory contains plug-in sub-modules to add 
import-export formats for Moodle questions

Each sub-module must contain at least a format.php file 
containing a class that contains functions for reading, 
writing, importing and exporting questions.

For correct operation the class name must be based on the
name of the containing directory, e.g.,

directory: webct
class:  class qformat_webct extends qformat_default { 

Most of them are based on the class found in question/format.php. 
See the comments therein for more information.

File

includes/moodle/question/format/README.txt
View source
  1. FILE FORMATS FOR QUESTION IMPORT/EXPORT
  2. ------------------------------------
  3. This directory contains plug-in sub-modules to add
  4. import-export formats for Moodle questions
  5. Each sub-module must contain at least a format.php file
  6. containing a class that contains functions for reading,
  7. writing, importing and exporting questions.
  8. For correct operation the class name must be based on the
  9. name of the containing directory, e.g.,
  10. directory: webct
  11. class: class qformat_webct extends qformat_default {
  12. Most of them are based on the class found in question/format.php.
  13. See the comments therein for more information.