mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 18:36:42 +02:00
MDL-30771: Enable students to view rubric definition prior to submission
Also allow advanced grading plugin to extend course module navigation, it is not necessary only definition previewing Added option to rubric whether to show it to the students before submission and option to view description
This commit is contained in:
parent
baa5cd8240
commit
577c89644f
7 changed files with 152 additions and 12 deletions
|
@ -202,6 +202,19 @@ abstract class gradingform_controller {
|
|||
// do not extend by default
|
||||
}
|
||||
|
||||
/**
|
||||
* Extends the module navigation
|
||||
*
|
||||
* This function is called when the context for the page is an activity module with the
|
||||
* FEATURE_ADVANCED_GRADING and there is an area with the active grading method set to the given plugin.
|
||||
*
|
||||
* @param global_navigation $navigation {@link global_navigation}
|
||||
* @param navigation_node $node {@link navigation_node}
|
||||
*/
|
||||
public function extend_navigation(global_navigation $navigation, navigation_node $node=null) {
|
||||
// do not extend by default
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the grading form definition structure
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue