This link has been bookmarked by 3 people . It was first bookmarked on 12 Mar 2007, by Professional Learning Board.
-
04 Mar 10
-
The quiz module is a complex module. The module has grown organically and in spite of a lot of rewriting for Moodle 1.5 the code is not very simple to understand.
-
-
23 Jun 08
-
comma separated list of questionids and pagebreaks where the pagebreaks are represented by the id 0
-
$quiz->questions
-
-
12 Mar 07
-
When a question is replaced by a newer version, database records are updated in the order shown below (compare with question.php):
-
if a question is edited during a student's attempt, the data from quiz_question_versions needs to be taken into account. If a student has attempted a quiz and a question was changed afterwards (i.e. a new version of that question was created), the question id of the old version remains in the comma separated list inside the attempt->layout field. However, since the records in the quiz_question_instances table get updated, we need to go forward in the question history, by looping through entries from the quiz_question_versions table, to find out the id of the question version that is currently used in the quiz.
-
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.