Moodle PHP Documentation 5.0
Moodle 5.0.1+ (Build: 20250711) (61af040cd5f)
core_grades\penalty_calculator Class Reference
Inheritance diagram for core_grades\penalty_calculator:
gradepenalty_duedate\penalty_calculator

Static Public Member Functions

static calculate_penalty (penalty_container $container)
 Calculate the grade penalty based on the information provided in the penalty container.
 

Member Function Documentation

◆ calculate_penalty()

static core_grades\penalty_calculator::calculate_penalty ( penalty_container $container)
staticabstract

Calculate the grade penalty based on the information provided in the penalty container.

The result should be stored in the penalty container.

Parameters
penalty_container$container

Reimplemented in gradepenalty_duedate\penalty_calculator.


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