]> git.mjollnir.org Git - moodle.git/commit
New modular plugin structure for quiz reports.
authormoodler <moodler>
Thu, 24 Jul 2003 05:18:00 +0000 (05:18 +0000)
committermoodler <moodler>
Thu, 24 Jul 2003 05:18:00 +0000 (05:18 +0000)
commit29d5d0b40c31f1b589af9c91598676dae9b6444e
tree5cd337d27b6745e154d7717b1226424681006553
parent350a05c4cf93ceaca04303cc11c46b76125466f8
New modular plugin structure for quiz reports.

The code for reviewing an existing attempt is now separate
in review.php and now has a log entry of it's own.

The overview and regrade reports are now in separate subdirectories
under the "report" directory.  Each has a primary "report.php" file
which implements the report as a class.

These existing reports are very simple, but now more complex ones
can easily be written.  (I am about to do one).
13 files changed:
lang/en/quiz.php
mod/quiz/db/mysql.php
mod/quiz/db/mysql.sql
mod/quiz/db/postgres7.php
mod/quiz/db/postgres7.sql
mod/quiz/lib.php
mod/quiz/report.php
mod/quiz/report/default.php [new file with mode: 0644]
mod/quiz/report/overview/report.php [new file with mode: 0644]
mod/quiz/report/regrade/report.php [new file with mode: 0644]
mod/quiz/review.php [new file with mode: 0644]
mod/quiz/version.php
mod/quiz/view.php