Renderable component containing all the data needed to display the grading report.
More...
|
| __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 () |
|
Renderable component containing all the data needed to display the grading report.
◆ __construct()
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)
- Parameters
-
◆ export_data_for_external()
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.
- Return values
-
stdClass | the data ready for external systems |
◆ get_data()
workshop_grading_report::get_data |
( |
| ) |
|
- Return values
-
stdClass | grading report data |
◆ get_options()
workshop_grading_report::get_options |
( |
| ) |
|
- Return values
-
stdClass | rendering options |
◆ $data
stdClass workshop_grading_report::$data |
|
protected |
The documentation for this class was generated from the following file: