Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Critical
-
Resolution: Won't Fix
-
Affects Version/s: 2.3, 2.5
-
Fix Version/s: None
-
Component/s: Quiz
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_23_STABLE, MOODLE_25_STABLE
-
Pull from Repository:
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
There are now lots of different classes defined in the quiz, and at the moment they are all mixed up in the mod/quiz folder with the front-end scripts like view.php and attempt.php.
It would be better to move them into mod/quiz/classes folder, with one php file per class.
At the same time, try to make it possible to use constants like quiz_attempt::FINISHED in lib.php without having to include all of locallib.php.