◆ apply_penalty_to_user()
static mod_assign\penalty\helper::apply_penalty_to_user |
( |
int | $assignid, |
|
|
int | $userid ) |
|
static |
Apply penalty to a user.
- Parameters
-
int | $assignid | The assignment id. |
int | $userid | The user id. |
◆ is_penalty_enabled()
static mod_assign\penalty\helper::is_penalty_enabled |
( |
int | $assignid | ) |
|
|
static |
Check if penalty is enabled for an assignment.
- Parameters
-
int | $assignid | The assignment id. |
The documentation for this class was generated from the following file:
- mod/assign/classes/penalty/helper.php