Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
quiz_statistics\event\observer\attempt_submitted Class Reference

Static Public Member Functions

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

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
Deprecated
Since Moodle 4.4 MDL-80099

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