mirror of
https://github.com/moodle/moodle.git
synced 2025-01-23 00:28:57 +01:00
43bf9fc2d7
Each format is now in it's own subdirectory, which allows the format to have as many files as it likes. The formats are now detected automatically (no need to edit lib.php anymore) and the parent class is now in mod/quiz/format.php Lastly, I added Paul Shew's new GIFT format.
20 lines
498 B
PHP
20 lines
498 B
PHP
<?PHP // $Id$
|
|
|
|
////////////////////////////////////////////////////////////////////////////
|
|
/// IMS QTI FORMAT
|
|
////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Based on format.php, included by ../../import.php
|
|
|
|
class quiz_file_format extends quiz_default_format {
|
|
|
|
function importpreprocess($category) {
|
|
global $CFG;
|
|
|
|
error("Sorry, this format is not yet implemented!", "$CFG->wwwroot/mod/quiz/import.php?category=$category->id");
|
|
}
|
|
|
|
}
|
|
|
|
?>
|