|
Moodle PHP Documentation 5.0
Moodle 5.0.1+ (Build: 20250711) (61af040cd5f)
|
Namespaces | |
| namespace | gradepenalty_duedate |
| | |
| namespace | gradepenalty_duedate\output |
| | |
| namespace | gradepenalty_duedate\output\form |
| | |
| namespace | gradepenalty_duedate\privacy |
| | |
| namespace | gradepenalty_duedate\table |
| | |
| namespace | gradepenalty_duedate\tests |
| | |
Functions | |
| gradepenalty_duedate_extend_navigation_course (navigation_node $navigation, stdClass $course, context $context) | |
| Extend the course navigation with a penalty rule settings. | |
| gradepenalty_duedate_extend_navigation_module (navigation_node $navigation, cm_info $cm) | |
| Extend the module navigation with a penalty rule settings. | |
| gradepenalty_duedate_get_settings_url () | |
| Define the setting page for the penalty rule. | |
| gradepenalty_duedate_output_fragment_penalty_rule_form (array $args) | |
| Load penalty rule form. | |
| xmldb_gradepenalty_duedate_install () | |
| Create a default 0% penalty rule. | |
Variables | |
| $capabilities | |
| $capabilities = ['gradepenalty/duedate:manage'] | |
| $plugin = 2025040800 | |
| $plugin | component = 'gradepenalty_duedate' |
| $plugin | version = 2025041400 |
| gradepenalty_duedate_extend_navigation_course | ( | navigation_node | $navigation, |
| stdClass | $course, | ||
| context | $context ) |
Extend the course navigation with a penalty rule settings.
| navigation_node | $navigation | The settings navigation object |
| stdClass | $course | The course |
| context | $context | Course context |
| void |
| gradepenalty_duedate_extend_navigation_module | ( | navigation_node | $navigation, |
| cm_info | $cm ) |
Extend the module navigation with a penalty rule settings.
| navigation_node | $navigation | The settings navigation object |
| cm_info | $cm | The course module |
| void |
| gradepenalty_duedate_output_fragment_penalty_rule_form | ( | array | $args | ) |
Load penalty rule form.
| array | $args | parameters to load the form |
| string | html and js of the form |
| $capabilities |