Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
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: