Moodle PHP Documentation 4.1
Moodle 4.1.11 (Build: 20240610) (c8c84b4af18)
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: