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

Web services relating to fetching of a rubric for the grading panel. More...

Inheritance diagram for gradingform_rubric\grades\grader\gradingpanel\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)
 Get the data to be fetched and create the structure ready for Mustache.
 

Static Protected Member Functions

static get_formatted_text (context $context, int $definitionid, string $filearea, string $text, int $format)
 Get a formatted version of the remark/description/etc.
 

Detailed Description

Web services relating to fetching of a rubric for the grading panel.

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

Member Function Documentation

◆ execute()

static gradingform_rubric\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
array
Since
Moodle 3.8

◆ execute_parameters()

static gradingform_rubric\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_rubric\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_rubric\grades\grader\gradingpanel\external\fetch::get_fetch_data ( gradeitem $gradeitem,
stdClass $gradeduser )
static

Get the data to be fetched and create the structure ready for Mustache.

Parameters
gradeitem$gradeitem
stdClass$gradeduser
Return values
array

◆ get_formatted_text()

static gradingform_rubric\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$fileareaThe file area of the field
string$textThe text to be formatted
int$formatThe input format of the string
Return values
string

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