[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Summary view] [Print] [Text view]
1 This files describes API changes in /grade/report/*, 2 information provided here is intended especially for developers. 3 4 === 2.6.5, 2.7.2 === 5 6 * The callback function grade_report_*_profilereport now takes one more parameter $viewasuser. This parameter 7 is set to true when the report must be viewed as the user whose grades are being displayed. For instance, 8 when a mentor/parent is viewing the report, they should see the same grades, not more, not less. When the 9 setting is set to false (default), the capability checks, visibility and access levels are using the 10 currently logged in user. 11 12 === 2.6 === 13 * grade_report_grader::get_toggles_html() and grade_report_grader::print_toggle() 14 can not be used any more 15 * class grade_report get_numusers($groups = true, $users = false) 16 An extra parameter has been added to restrict count to those users being 17 displayed 18 * class grade_report_grader get_left_rows($displayaverages) 19 A parameter has been added to indicate whether averages are applicable and 20 should be displayed on the report 21 * class grade_report_grader get_right_rows($displayaverages) 22 A parameter has been added to indicate whether averages are applicable and 23 should be displayed on the report 24 * class grade_report_grader get_grade_table($displayaverages = false) 25 A parameter has been added to indicate whether averages are applicable and 26 should be displayed on the report 27 28 === 2.3.5, 2.4.2 === 29 * class_grade_report::showtotalsifcontainhidden has been switched from a single integer value to an array. 30 The array keys are course IDs while the array values are the value of the course setting "report_overview_showtotalsifcontainhidden".
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |