Web services relating to fetching of a marking guide for the grading panel.
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) |
| Get the data to be fetched.
|
|
|
static | get_formatted_text (context $context, int $definitionid, string $filearea, string $text, int $format) |
| Get a formatted version of the remark/description/etc.
|
|
Web services relating to fetching of a marking guide for the grading panel.
- 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 gradingform_guide\grades\grader\gradingpanel\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 gradingform_guide\grades\grader\gradingpanel\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 gradingform_guide\grades\grader\gradingpanel\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 gradingform_guide\grades\grader\gradingpanel\external\fetch::get_fetch_data |
( |
gradeitem | $gradeitem, |
|
|
stdClass | $gradeduser ) |
|
static |
Get the data to be fetched.
- Parameters
-
gradeitem | $gradeitem | |
stdClass | $gradeduser | |
- Return values
-
◆ get_formatted_text()
static gradingform_guide\grades\grader\gradingpanel\external\fetch::get_formatted_text |
( |
context | $context, |
|
|
int | $definitionid, |
|
|
string | $filearea, |
|
|
string | $text, |
|
|
int | $format ) |
|
staticprotected |
Get a formatted version of the remark/description/etc.
- Parameters
-
context | $context | |
int | $definitionid | |
string | $filearea | The file area of the field |
string | $text | The text to be formatted |
int | $format | The input format of the string |
- Return values
-
The documentation for this class was generated from the following file:
- grade/grading/form/guide/classes/grades/grader/gradingpanel/external/fetch.php