moodle/question/type/random
Tim Hunt ccba5b8805 MDL-43749 normalise quiz database structure.
The sequence of questions that made up a quiz used to be stored as a
comma-separated list in quiz.questions. Now the same information is
stored in the rows in the quiz_slots table. This is not just 'better' in
a database design sense, but it allows for the future changes we will
need as we enhance the quiz in the MDL-40987 epic.

Having changed the database structure, all the rest of the code needs to
be changed to account for it, and that is done here.

Note that there are not many unit tests for the changed bit. That is
because as part of MDL-40987 we will be changing the code further, and
we will add unit tests then.
2014-03-02 10:00:40 +01:00
..
backup/moodle2 MDL-38792 Update question/type in-line comments to codechecker standards 2013-04-08 19:59:51 -04:00
lang/en MDL-42728 Merge English strings from the en_fix language pack 2013-11-05 23:41:44 +01:00
pix MDL-23784 converted question types to use new pix API and locations 2010-08-12 19:01:28 +00:00
tests MDL-43749 normalise quiz database structure. 2014-03-02 10:00:40 +01:00
edit_random_form.php MDL-38792 Update question/type in-line comments to codechecker standards 2013-04-08 19:59:51 -04:00
questiontype.php MDL-40541 need to be able to select random q 2013-07-23 15:08:32 +08:00
version.php MDL-42701 Bump all versions near 2.6 release 2013-11-05 02:36:00 +01:00