External grade overview report API implementation.
More...
External grade overview report API implementation.
- Copyright
- 2016 Juan Leyva juan@.nosp@m.mood.nosp@m.le.co.nosp@m.m
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ get_course_grades()
static gradereport_overview_external::get_course_grades |
( |
| $userid = 0 | ) |
|
|
static |
Get the given user courses final grades.
- Parameters
-
int | $userid | get grades for this user (optional, default current) |
- Return values
-
- Since
- Moodle 3.2
◆ get_course_grades_parameters()
static gradereport_overview_external::get_course_grades_parameters |
( |
| ) |
|
|
static |
Describes the parameters for get_course_grades.
- Return values
-
external_function_parameters | |
- Since
- Moodle 3.2
◆ get_course_grades_returns()
static gradereport_overview_external::get_course_grades_returns |
( |
| ) |
|
|
static |
Describes the get_course_grades return value.
- Return values
-
external_single_structure | |
- Since
- Moodle 3.2
◆ view_grade_report()
static gradereport_overview_external::view_grade_report |
( |
| $courseid, |
|
|
| $userid = 0 ) |
|
static |
Trigger the user report events, do the same that the web interface view of the report.
- Parameters
-
int | $courseid | id of course |
int | $userid | id of the user the report belongs to |
- Return values
-
array | of warnings and status result |
- Since
- Moodle 3.2
- Exceptions
-
◆ view_grade_report_parameters()
static gradereport_overview_external::view_grade_report_parameters |
( |
| ) |
|
|
static |
Returns description of method parameters.
- Return values
-
external_function_parameters | |
- Since
- Moodle 3.2
◆ view_grade_report_returns()
static gradereport_overview_external::view_grade_report_returns |
( |
| ) |
|
|
static |
Returns description of method result value.
- Return values
-
- Since
- Moodle 3.2
The documentation for this class was generated from the following file:
- grade/report/overview/classes/external.php