Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
core_grades\grades\grader\gradingpanel\scale\external\fetch Class Reference

External grading panel scale API. More...

Inheritance diagram for core_grades\grades\grader\gradingpanel\scale\external\fetch:

Static Public Member Functions

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.
 

Detailed Description

External grading panel scale API.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ 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
array
Exceptions
dml_exception
invalid_parameter_exception
restricted_context_exception
coding_exception
moodle_exception
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
array

The documentation for this class was generated from the following file: