External grading panel scale API.
More...
|
static | execute (string $component, int $contextid, string $itemname, int $gradeduserid) |
| Fetch the data required to build a grading panel for a simple grade.
|
|
static | execute_parameters () |
| Describes the parameters for fetching the grading panel for a simple grade.
|
|
static | execute_returns () |
| Describes the data returned from the external function.
|
|
static | get_fetch_data (gradeitem $gradeitem, stdClass $gradeduser, int $maxgrade, ?string $gradername) |
| Get the data to be fetched.
|
|
External grading panel scale API.
- Copyright
- 2019 Andrew Nicols andre.nosp@m.w@ni.nosp@m.cols..nosp@m.co.u.nosp@m.k
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ execute()
static core_grades\grades\grader\gradingpanel\scale\external\fetch::execute |
( |
string | $component, |
|
|
int | $contextid, |
|
|
string | $itemname, |
|
|
int | $gradeduserid ) |
|
static |
Fetch the data required to build a grading panel for a simple grade.
- Parameters
-
string | $component | |
int | $contextid | |
string | $itemname | |
int | $gradeduserid | |
- Return values
-
- Exceptions
-
- Since
- Moodle 3.8
◆ execute_parameters()
static core_grades\grades\grader\gradingpanel\scale\external\fetch::execute_parameters |
( |
| ) |
|
|
static |
Describes the parameters for fetching the grading panel for a simple grade.
- Return values
-
external_function_parameters | |
- Since
- Moodle 3.8
◆ execute_returns()
static core_grades\grades\grader\gradingpanel\scale\external\fetch::execute_returns |
( |
| ) |
|
|
static |
Describes the data returned from the external function.
- Return values
-
external_single_structure | |
- Since
- Moodle 3.8
◆ get_fetch_data()
static core_grades\grades\grader\gradingpanel\scale\external\fetch::get_fetch_data |
( |
gradeitem | $gradeitem, |
|
|
stdClass | $gradeduser, |
|
|
int | $maxgrade, |
|
|
?string | $gradername ) |
|
static |
Get the data to be fetched.
- Parameters
-
gradeitem | $gradeitem | |
stdClass | $gradeduser | |
int | $maxgrade | |
string | null | $gradername | |
- Return values
-
The documentation for this class was generated from the following file:
- grade/classes/grades/grader/gradingpanel/scale/external/fetch.php