]> git.mjollnir.org Git - moodle.git/commit
random essay questions: MDL-8648 Allow essay questions to be selected by random question.
authortjhunt <tjhunt>
Fri, 28 Nov 2008 06:07:11 +0000 (06:07 +0000)
committertjhunt <tjhunt>
Fri, 28 Nov 2008 06:07:11 +0000 (06:07 +0000)
commitf24493ec9b0e46c30c5343283dd10179a0fd892e
tree04c639bb021f4c37ef80dc1e78d9301fb40bb8ae
parentcf74300857876136e5fa3467bb335f3cac25a8de
random essay questions: MDL-8648 Allow essay questions to be selected by random question.

In the 1.9 branch this is controlled by a new option under Admin -> Experimental. In Moodle 2.0 dev it is not optional, it just works.

The main change is letting the manual grading report know which random questions might need manual grading. MDL-4004 - this depends on the random question under consideration, which requires a new questiontype method.

I also changed the random question code so that I could remove some global variables.
lang/en_utf8/qtype_random.php [new file with mode: 0644]
lib/questionlib.php
mod/quiz/report/grading/report.php
question/type/essay/questiontype.php
question/type/questiontype.php
question/type/random/questiontype.php