8 Commits

Author SHA1 Message Date
mindforge
3db197cad4 Fix for the bug described in the discussions http://moodle.org/mod/forum/discuss.php?d=26526 and http://moodle.org/mod/forum/discuss.php?d=27274 2005-08-15 11:38:13 +00:00
gustav_delius
6869085a5e Forgot to convert a $quiz to $cmoptions. Fixes bug 3749 2005-07-14 07:00:35 +00:00
gustav_delius
bb52d44c6a Due date and start date are now optional, as requested in bug 867 and bug 3635 2005-07-07 17:16:56 +00:00
gustav_delius
7d0fdfd794 Moved constants into constants.php so that they can be loaded where needed. 2005-07-06 06:44:18 +00:00
gustav_delius
a08e9552fa More steps towards the separation of questions from the quiz module. 2005-07-03 09:53:02 +00:00
gustav_delius
d115d8c736 I have introduced the new field $attempt->uniqueid, see http://mantis.york.ac.uk/moodle/mod/forum/discuss.php?d=852#3380 2005-07-02 18:14:51 +00:00
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
gustav_delius
0d156caaae I have started on the re-organisation to allow other modules to use the questiontypes.
Moved all code that is not specific to the quiz module out of locallib.php into questionlib.php.
The default questiontype class is now defined in quiz/questiontypes/questiontype.php.
See http://mantis.york.ac.uk/moodle/mod/forum/discuss.php?d=852
2005-07-02 11:42:42 +00:00