Moodle release 2.7
[moodle.git] / grade / report / upgrade.txt
blobae7b48dfc4f2ce771250989e50f44ab1fb8e50c8
1 This files describes API changes in /grade/report/*,
2 information provided here is intended especially for developers.
4 === 2.6 ===
5 * grade_report_grader::get_toggles_html() and grade_report_grader::print_toggle()
6   can not be used any more
7 * class grade_report get_numusers($groups = true, $users = false)
8   An extra parameter has been added to restrict count to those users being
9 displayed
10 * class grade_report_grader get_left_rows($displayaverages)
11   A parameter has been added to indicate whether averages are applicable and
12 should be displayed on the report
13 * class grade_report_grader get_right_rows($displayaverages)
14   A parameter has been added to indicate whether averages are applicable and
15 should be displayed on the report
16 * class grade_report_grader get_grade_table($displayaverages = false)
17   A parameter has been added to indicate whether averages are applicable and
18 should be displayed on the report
20 === 2.3.5, 2.4.2 ===
21 * class_grade_report::showtotalsifcontainhidden has been switched from a single integer value to an array.
22 The array keys are course IDs while the array values are the value of the course setting "report_overview_showtotalsifcontainhidden".