2013-03-05 12:00:59 +08:00
|
|
|
This files describes API changes in /grade/report/*,
|
|
|
|
information provided here is intended especially for developers.
|
2015-01-22 02:57:34 +08:00
|
|
|
=== 2.9 ===
|
|
|
|
* Deprecating grade_report_grader:get_collapsing_icon.
|
2013-03-05 12:00:59 +08:00
|
|
|
|
2014-12-08 11:23:11 +00:00
|
|
|
=== 2.8.2 ===
|
2014-12-02 13:40:47 +08:00
|
|
|
* gradereport_singleview::__construct doesn't need groupid parameter anymore, so it was renamed to $unused.
|
|
|
|
|
2014-08-11 11:53:06 +08:00
|
|
|
=== 2.6.5, 2.7.2 ===
|
|
|
|
|
|
|
|
* The callback function grade_report_*_profilereport now takes one more parameter $viewasuser. This parameter
|
|
|
|
is set to true when the report must be viewed as the user whose grades are being displayed. For instance,
|
|
|
|
when a mentor/parent is viewing the report, they should see the same grades, not more, not less. When the
|
|
|
|
setting is set to false (default), the capability checks, visibility and access levels are using the
|
|
|
|
currently logged in user.
|
|
|
|
|
2013-07-03 17:06:59 +08:00
|
|
|
=== 2.6 ===
|
|
|
|
* grade_report_grader::get_toggles_html() and grade_report_grader::print_toggle()
|
|
|
|
can not be used any more
|
2013-10-11 10:45:53 +11:00
|
|
|
* class grade_report get_numusers($groups = true, $users = false)
|
|
|
|
An extra parameter has been added to restrict count to those users being
|
|
|
|
displayed
|
|
|
|
* class grade_report_grader get_left_rows($displayaverages)
|
|
|
|
A parameter has been added to indicate whether averages are applicable and
|
|
|
|
should be displayed on the report
|
|
|
|
* class grade_report_grader get_right_rows($displayaverages)
|
|
|
|
A parameter has been added to indicate whether averages are applicable and
|
|
|
|
should be displayed on the report
|
|
|
|
* class grade_report_grader get_grade_table($displayaverages = false)
|
|
|
|
A parameter has been added to indicate whether averages are applicable and
|
|
|
|
should be displayed on the report
|
2013-03-05 12:00:59 +08:00
|
|
|
|
|
|
|
=== 2.3.5, 2.4.2 ===
|
|
|
|
* class_grade_report::showtotalsifcontainhidden has been switched from a single integer value to an array.
|
|
|
|
The array keys are course IDs while the array values are the value of the course setting "report_overview_showtotalsifcontainhidden".
|