Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
quiz_statistics\event\observer\attempt_submitted Class Reference

Event observer for mod_quiz\event\attempt_submitted. More...

Static Public Member Functions

static process (\mod_quiz\event\attempt_submitted $event)
 Queue an ad-hoc task to recalculate statistics for the quiz.
 

Detailed Description

Event observer for mod_quiz\event\attempt_submitted.

Author
Mark Johnson mark..nosp@m.john.nosp@m.son@c.nosp@m.atal.nosp@m.yst-e.nosp@m.u.ne.nosp@m.t
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ process()

static quiz_statistics\event\observer\attempt_submitted::process ( \mod_quiz\event\attempt_submitted $event)
static

Queue an ad-hoc task to recalculate statistics for the quiz.

This will defer running the task for 1 hour, to give other attempts in progress a chance to submit.

Parameters
mod_quiz\event\attempt_submitted$event
Return values
void

The documentation for this class was generated from the following file: