129 Commits

Author SHA1 Message Date
gustav_delius
ad7e7ba882 Two name changes:
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
2005-07-02 16:07:05 +00:00
thepurpleblob
e4f7cb77d8 merged from STABLE 2005-06-24 13:18:51 +00:00
thepurpleblob
18c89ac630 merged from STABLE 2005-05-31 15:19:00 +00:00
thepurpleblob
8cedc8a7f5 Merged changes from STABLE 2005-05-31 10:12:13 +00:00
thepurpleblob
2df4f2f5eb Merged changes to HEAD 2005-05-24 15:42:30 +00:00
thepurpleblob
b98af62708 Now correctly handles changes in database format of numerical questions.
Also now properly supports numerical questions with multiple answers.
2005-05-17 15:47:31 +00:00
thepurpleblob
c4f9996d64 Numerical questions now work with recent database changes. 2005-05-17 14:49:55 +00:00
thepurpleblob
b5abaacf51 Sorted hard coded string. 2005-05-17 14:12:42 +00:00
thepurpleblob
875c308e6c Added an example of specifying questiontext text format 2005-05-16 12:38:21 +00:00
thepurpleblob
0f27fa6bda Now allows questiontext text format to be specified. 2005-05-16 12:35:46 +00:00
thepurpleblob
ba67d803f0 Fix bug #3264 2005-05-16 09:17:21 +00:00
thepurpleblob
691d06114e Added support for Examview import. 2005-05-16 08:12:40 +00:00
thepurpleblob
665f61dcdb Compatible with newly introduced question options. 2005-05-11 13:57:43 +00:00
thepurpleblob
e7a27eeb87 fixed typo. 2005-05-10 10:31:41 +00:00
thepurpleblob
135973fb1c Export now uses functions in questiontype classes. Changes in this file
reflect slightly different question object layout.
2005-05-10 09:23:10 +00:00
thepurpleblob
835ee89f1c Refactored to use functions in questiontypes classes, which have slightly
different object structure.
2005-05-10 09:07:21 +00:00
thepurpleblob
6b0ec8d155 Missing get_answers() function looks tricky to work-around. Have
completely disabled MULTIANSWER questions from qti2 export. One for
another day!
2005-05-09 15:37:09 +00:00
thepurpleblob
7ea81728c3 Brought into line with changed object layouts after Gustav's update.
Doesn't work for cloze questions at the moment due to vanished function
in quiz_embedded_cloze_qtype
2005-05-09 15:28:34 +00:00
thepurpleblob
2e2183688a Export now works with objects generated in questiontype classes. 2005-05-09 10:24:18 +00:00
gustav_delius
2b4d7d1495 took out call by reference in an addslashes to fix warning reported at http://moodle.org/mod/forum/discuss.php?d=23288#110511. 2005-05-09 05:47:21 +00:00
gustav_delius
15f3e35a48 One line to do with the multianswer upgrade that I forgot to merge 2005-05-06 16:25:55 +00:00
thepurpleblob
0b3c25f5d2 Checks for more than 10 answers where required. Fix for bug #3066 2005-05-03 16:20:34 +00:00
thepurpleblob
b6057bf570 Fixed hard coded path. 2005-05-03 13:23:04 +00:00
thepurpleblob
0455cc43a4 Changed name of folder from qti to qti2 to make QTI version clearer. 2005-05-03 13:14:11 +00:00
thepurpleblob
c68fc4c4ea Effectively renaming qti to be qti2 to make it clear what QTI version we have here 2005-05-03 13:11:29 +00:00
thepurpleblob
50a8667264 improved README to reflect new class naming convention. 2005-04-26 10:41:42 +00:00
thepurpleblob
7435cc1354 ...and it would be much better if I could spell! 2005-04-25 15:25:27 +00:00
thepurpleblob
c544726fa6 Changed class name and added new method to fit in with new import/export
capability auto-discovery!
2005-04-25 15:24:29 +00:00
moodler
07e1a0e289 Hotpot import to quizzes 2005-04-25 14:42:12 +00:00
thepurpleblob
971a7ce06f Fixed glaring error in Match format 2005-04-22 09:51:15 +00:00
thepurpleblob
3d89b0e02c Tidied up the formatting in a couple of places. 2005-04-21 10:04:45 +00:00
thepurpleblob
f3bd87cb24 Question text now goes through the (appropriate) formatted, and the example
CSS is added in.
2005-04-20 15:11:36 +00:00
thepurpleblob
974a8e8f83 Example/suggested CSS for the xhtml export format. 2005-04-20 15:10:05 +00:00
thepurpleblob
53594cc653 Export format to generate quiz category as page of xhtml. 2005-04-20 14:06:44 +00:00
thepurpleblob
0458f07aaf GIFT export collapses multiple line questions to fit with the GIFT 'spec'. 2005-04-20 10:13:38 +00:00
thepurpleblob
0ae982231f Import/export changed so that available formats are automatically detected.
Classes now have discrete names and methods to identify import/export
capability added. Detecting function factored out into locallib.php
2005-04-20 09:08:25 +00:00
thepurpleblob
3f1c031cc4 Now results in the produced files packaged in a single zip file.
Bunch of code for non-standard questions removed.
Template compile files now stored in $CFG->moodledata
Some bugs and oddities sorted
2005-04-19 15:10:47 +00:00
mjollnir_
9058e785cb Small fixes to quiz for postgres compatibility 2005-04-19 00:41:13 +00:00
stronk7
b681000402 Now quiz->name supports filterall. 2005-04-03 00:19:11 +00:00
moodler
31a2b4f150 DOn't die with an error on an unsupported question type ... try to continue. 2005-04-01 12:13:45 +00:00
gustav_delius
1938a6f1fa Checking in fix to WebCT import contributed by Breanndan O'Cinneide at http://moodle.org/mod/forum/discuss.php?d=17969. Closing bug 2475 2005-03-31 22:04:20 +00:00
thepurpleblob
06e273a1c3 Brian King's new QTI export capability - needs some testing yet. 2005-02-17 13:39:35 +00:00
thepurpleblob
425d616a1e Smarty templates used for new qti export feature. 2005-02-17 13:37:49 +00:00
gustav_delius
6f7970138a Taken out some $THEME 2005-02-05 17:28:06 +00:00
thepurpleblob
ddd8f87f7a multianswerchoice questions added to example questions. 2005-01-27 11:24:26 +00:00
thepurpleblob
2d4aa134d5 Addition code to handle 'multianswerchoice' type Learnwise questions. 2005-01-27 11:22:45 +00:00
thepurpleblob
7452a56110 HTML Entities are now 'reversed' on import. 2005-01-26 10:37:16 +00:00
thepurpleblob
8f0876a98b Added example file of the learnwise import format 2005-01-26 10:36:31 +00:00
thepurpleblob
1680925333 Adding Learnwise import - created by Alton College, Hampshire UK
Still to do testing etc.
2005-01-25 20:18:05 +00:00
thepurpleblob
84a93f1c24 Added empty array into question object for multiplier field in numeric questions
Stops a bunch of warnings when quiz is imported
2005-01-24 15:45:20 +00:00