Differences Between: [Versions 400 and 403] [Versions 401 and 403]
(no description)
File Size: | 156 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
quiz_notify_attempt_manual_grading_completed:: (5 methods):
get_name()
get_time()
set_time_for_testing()
execute()
get_list_of_attempts()
Class: quiz_notify_attempt_manual_grading_completed - X-Ref
Cron Quiz Notify Attempts Graded Task.get_name() X-Ref |
Get name of schedule task. return: string |
get_time() X-Ref |
To let this class be unit tested, we wrap all accesses to the current time in this method. return: int The current time. |
set_time_for_testing(int $time) X-Ref |
For testing only, pretend the current time is different. param: int $time The time to set as the current time. |
execute() X-Ref |
Execute sending notification for manual graded attempts. |
get_list_of_attempts() X-Ref |
Get a number of records as an array of quiz_attempts using a SQL statement. return: moodle_recordset Of quiz_attempts that need to be processed. |