-
Improvement
-
Resolution: Fixed
-
Blocker
-
4.1
-
MOODLE_401_STABLE
-
MOODLE_402_STABLE
-
I think that Peter Jackson had this problem when he was making The Hobbit. MDL-74923 was just too much to do in one issue, so here is part 2. Refer to that issue for most of the details. These are the classes which remain to be moved:
- DONE quiz_access_manager -> mod_quiz\access_manager (Currently in accessmanager.php)
- DONE mod_quiz_preflight_check_form -> mod_quiz\form\preflight_check (Currently in accessmanager_form.php)
- DONE quiz_add_random_form -> mod_quiz\form\add_random_form (Currently in addrandomform.php)
- DONE moodle_quiz_exception - REMOVE Use moodle_exception directly. (Currently in attemptlib.php)
- DONE quiz -> mod_quiz\settings (Currently in attemptlib.php)
- DONE quiz_attempt -> mod_quiz\quiz_attempt (Currently in attemptlib.php - not renaming to reduce the pain!)
- DONE quiz_nav_section_heading -> mod_quiz\output\navigation_section_heading (Currently in attemptlib.php)
- DONE quiz_nav_question_button -> mod_quiz\local\navigation_question_button (Currently in attemptlib.php)
- DONE quiz_nav_panel_base -> mod_quiz\local\navigation_panel_base (Currently in attemptlib.php)
- DONE quiz_attempt_nav_panel -> mod_quiz\local\navigation_panel_attempt (Currently in attemptlib.php)
- DONE quiz_review_nav_panel -> mod_quiz\local\navigation_panel_review (Currently in attemptlib.php)
- DONE mod_quiz_overdue_attempt_updater -> REMOVE Move contents in to update_overdue_attempts (Currently in cronlib.php)
- DONE quiz_override_form -> mod_quiz\form\edit_override_form (Currently in override_form.php)
- DONE mod_quiz_renderer -> mod_quiz\output\renderer (Currently in renderer.php)
- DONE mod_quiz_links_to_other_attempts -> mod_quiz\output\links_to_other_attempts (Currently in renderer.php)
- DONE mod_quiz_view_object -> mod_quiz\output\view_page (Currently in renderer.php)
- DONE quiz_access_rule_base -> mod_quiz\local\access_rule_base (Currently in accessrule/accessrulebase.php)
One issue with these changes was that quizaccess_seb was using the same class names. To reduce confusion, I therefore also renamed:
- DONE quizaccess_seb\quiz_settings -> quizaccess_seb\seb_quiz_settings
- DONE quizaccess_seb\access_manager -> quizaccess_seb\seb_access_manager
- caused a regression
-
MDL-77582 Call to a member function view_url() on null on quiz attempt
- Closed
-
MDL-78307 Quiz message sending: contexturl passed to messages is a mdl_url not a string
- Closed
- has to be done after
-
MDL-74923 Quiz: move all PHP classes into the classes folder - part 1
- Closed
- has to be done before
-
MDL-76612 Moodle 4.6 quiz final deprecations
- Open
- is blocked by
-
MDL-74609 Quiz: allow the displayed question numbers to be customised
- Closed