MDL-57296 gradelib: Fix get_hidding_effect for grade_type_none items
[moodle.git] / grade / report / upgrade.txt
CommitLineData
5df9bc39
AD
1This files describes API changes in /grade/report/*,
2information provided here is intended especially for developers.
08d7965e
JL
3
4=== 3.2 ===
5* External function gradereport_user_external::get_grades_table now has an optional groupid parameter.
6Is recommended to use this parameter in courses with separate groups or when the user requesting the report is in more than one group.
7
2350b3f4
ZD
8=== 2.9 ===
9* Deprecating grade_report_grader:get_collapsing_icon.
126470f3 10* 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.
5df9bc39 11
9112aac1 12=== 2.8.2 ===
aac66bef
SL
13* gradereport_singleview::__construct doesn't need groupid parameter anymore, so it was renamed to $unused.
14
abbee05e
FM
15=== 2.6.5, 2.7.2 ===
16
17* The callback function grade_report_*_profilereport now takes one more parameter $viewasuser. This parameter
18 is set to true when the report must be viewed as the user whose grades are being displayed. For instance,
19 when a mentor/parent is viewing the report, they should see the same grades, not more, not less. When the
20 setting is set to false (default), the capability checks, visibility and access levels are using the
21 currently logged in user.
22
33564ffb
RT
23=== 2.6 ===
24* grade_report_grader::get_toggles_html() and grade_report_grader::print_toggle()
25 can not be used any more
02d1a0a5
MA
26* class grade_report get_numusers($groups = true, $users = false)
27 An extra parameter has been added to restrict count to those users being
28displayed
29* class grade_report_grader get_left_rows($displayaverages)
30 A parameter has been added to indicate whether averages are applicable and
31should be displayed on the report
32* class grade_report_grader get_right_rows($displayaverages)
33 A parameter has been added to indicate whether averages are applicable and
34should be displayed on the report
35* class grade_report_grader get_grade_table($displayaverages = false)
36 A parameter has been added to indicate whether averages are applicable and
37should be displayed on the report
5df9bc39
AD
38
39=== 2.3.5, 2.4.2 ===
40* class_grade_report::showtotalsifcontainhidden has been switched from a single integer value to an array.
41The array keys are course IDs while the array values are the value of the course setting "report_overview_showtotalsifcontainhidden".