Moodle PHP Documentation 5.0
Moodle 5.0.1+ (Build: 20250711) (61af040cd5f)
|
Static Public Member Functions | |
static | recalculate_penalty (context $context, int $usermodified) |
Calculate the grade penalty based on the information provided in the penalty container. | |
|
static |
Calculate the grade penalty based on the information provided in the penalty container.
The result should be stored in the penalty container.
context | $context | the context where the penalty is being recalculated. |
int | $usermodified | the user who triggered the recalculation. |
Reimplemented from core_grades\penalty_recalculator.