Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
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

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