mirror of
https://github.com/moodle/moodle.git
synced 2025-02-13 12:34:28 +01:00
1) in all module-indpendent code the variable $quiz has been renamed to $cmoptions (it holds the options set by the course module which does not necessarily have to be a quiz, it could be a lesson for example). 2) quiz_restore_question_sessions() has the simpler name quiz_get_states Also got rid of the quizfile.php in favour of file.php
QUIZ FILE FORMATS FOR IMPORT/EXPORT ------------------------------------ This directory contains plug-in sub-modules to add import-export formats to Moodle quizzes. Each sub-module must contain at least a format.php file containing a class that contains functions for reading, writing, importing and exporting quiz questions. For correct operation the class name must be based on the name of the containing directory, e.g., directory: webct class: class quiz_format_webct extends quiz_default_format { Most of them are based on the class found in mod/quiz/format.php. See the comments therein for more information.