| 1 | This files describes API changes in /grade/report/*, |
| 2 | information provided here is intended especially for developers. |
| 3 | |
| 4 | === 4.2 === |
| 5 | * 'Show grade analysis icon' setting has been removed from grader report (link is moved to grade action menu) |
| 6 | * 'Show locks' setting has been removed from grader report (link is moved to grade action menu) |
| 7 | * 'Show show/hide icons' setting has been removed from grader report (link is moved to grade action menu) |
| 8 | * 'Enable AJAX' interface has been deprecated for grader report |
| 9 | * 'Quick feedback' interface has been deprecated for grader report |
| 10 | |
| 11 | === 3.6 === |
| 12 | * External function gradereport_user_external::get_grade_items now return the following information (only for course managers). |
| 13 | - locked: Whether the grade item is locked. |
| 14 | - gradeislocked: Whether the user grade is locked. |
| 15 | - gradeisoverridden: Whether the user grade is overridden. |
| 16 | |
| 17 | === 3.2 === |
| 18 | * External function gradereport_user_external::get_grades_table now has an optional groupid parameter. |
| 19 | Is recommended to use this parameter in courses with separate groups or when the user requesting the report is in more than one group. |
| 20 | |
| 21 | === 2.9 === |
| 22 | * Deprecating grade_report_grader:get_collapsing_icon. |
| 23 | * A new web service function gradereport_user_get_grades_table has been added which will allow external system to retrieve grade information ready to be formatted as a table similar to the gradebook user report one. |
| 24 | |
| 25 | === 2.8.2 === |
| 26 | * gradereport_singleview::__construct doesn't need groupid parameter anymore, so it was renamed to $unused. |
| 27 | |
| 28 | === 2.6.5, 2.7.2 === |
| 29 | |
| 30 | * The callback function grade_report_*_profilereport now takes one more parameter $viewasuser. This parameter |
| 31 | is set to true when the report must be viewed as the user whose grades are being displayed. For instance, |
| 32 | when a mentor/parent is viewing the report, they should see the same grades, not more, not less. When the |
| 33 | setting is set to false (default), the capability checks, visibility and access levels are using the |
| 34 | currently logged in user. |
| 35 | |
| 36 | === 2.6 === |
| 37 | * grade_report_grader::get_toggles_html() and grade_report_grader::print_toggle() |
| 38 | can not be used any more |
| 39 | * class grade_report get_numusers($groups = true, $users = false) |
| 40 | An extra parameter has been added to restrict count to those users being |
| 41 | displayed |
| 42 | * class grade_report_grader get_left_rows($displayaverages) |
| 43 | A parameter has been added to indicate whether averages are applicable and |
| 44 | should be displayed on the report |
| 45 | * class grade_report_grader get_right_rows($displayaverages) |
| 46 | A parameter has been added to indicate whether averages are applicable and |
| 47 | should be displayed on the report |
| 48 | * class grade_report_grader get_grade_table($displayaverages = false) |
| 49 | A parameter has been added to indicate whether averages are applicable and |
| 50 | should be displayed on the report |
| 51 | |
| 52 | === 2.3.5, 2.4.2 === |
| 53 | * class_grade_report::showtotalsifcontainhidden has been switched from a single integer value to an array. |
| 54 | The array keys are course IDs while the array values are the value of the course setting "report_overview_showtotalsifcontainhidden". |