Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
core_grades\external\get_gradeitems Class Reference
Inheritance diagram for core_grades\external\get_gradeitems:

Static Public Member Functions

static execute (int $courseid)
 Given a course ID find the grading objects and return their names & IDs.
 
static execute_parameters ()
 Returns description of method parameters.
 
static execute_returns ()
 Returns description of what gradeitems fetch should return.
 

Detailed Description

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

Member Function Documentation

◆ execute()

static core_grades\external\get_gradeitems::execute ( int $courseid)
static

Given a course ID find the grading objects and return their names & IDs.

Parameters
int$courseid
Return values
array
Exceptions
restricted_context_exception
invalid_parameter_exception

◆ execute_parameters()

static core_grades\external\get_gradeitems::execute_parameters ( )
static

Returns description of method parameters.

Return values
external_function_parameters

◆ execute_returns()

static core_grades\external\get_gradeitems::execute_returns ( )
static

Returns description of what gradeitems fetch should return.

Return values
external_single_structure

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