|
Moodle APIs 3.11
Moodle 3.11.11+ (Build: 20221125)
|
Renderable component containing all the data needed to display the grading report. More...
Public Member Functions | |
| __construct (stdClass $data, stdClass $options) | |
| Grades in $data must be already rounded to the set number of decimals or must be null (in which later case, the [mod_workshop,nullgrade] string shall be displayed) More... | |
| export_data_for_external () | |
| Prepare the data to be exported to a external system via Web Services. More... | |
| get_data () | |
| get_options () | |
Protected Attributes | |
| stdClass | $data |
| returned by { More... | |
| stdClass | $options |
| rendering options | |
Renderable component containing all the data needed to display the grading report.
| workshop_grading_report::__construct | ( | stdClass | $data, |
| stdClass | $options | ||
| ) |
Grades in $data must be already rounded to the set number of decimals or must be null (in which later case, the [mod_workshop,nullgrade] string shall be displayed)
| stdClass | $data | prepared by workshop::prepare_grading_report_data() |
| stdClass | $options | display options (showauthornames, showreviewernames, sortby, sorthow, showsubmissiongrade, showgradinggrade) |
| workshop_grading_report::export_data_for_external | ( | ) |
Prepare the data to be exported to a external system via Web Services.
This function applies extra capabilities checks.
| stdClass | the data ready for external systems |
| workshop_grading_report::get_data | ( | ) |
| stdClass | grading report data |
| workshop_grading_report::get_options | ( | ) |
| stdClass | rendering options |
|
protected |
returned by {