core grading functions
More...
◆ get_definitions()
static core_grading_external::get_definitions |
( |
| $cmids, |
|
|
| $areaname, |
|
|
| $activeonly = false ) |
|
static |
Returns the definitions for the requested course module ids.
- Parameters
-
| array | of ints $cmids |
string | $areaname | |
boolean | $activeonly | default is false, if true, only the active method is returned |
- Return values
-
array | of areas with definitions for each requested course module id |
- Since
- Moodle 2.5
◆ get_definitions_parameters()
static core_grading_external::get_definitions_parameters |
( |
| ) |
|
|
static |
Describes the parameters for get_definitions.
- Return values
-
external_function_parameters | |
- Since
- Moodle 2.5
◆ get_definitions_returns()
static core_grading_external::get_definitions_returns |
( |
| ) |
|
|
static |
Describes the get_definitions return value.
- Return values
-
external_single_structure | |
- Since
- Moodle 2.5
◆ get_gradingform_instances()
static core_grading_external::get_gradingform_instances |
( |
| $definitionid, |
|
|
| $since = 0 ) |
|
static |
Returns the instances and fillings for the requested definition id.
- Parameters
-
int | $definitionid | |
int | $since | only return instances with timemodified >= since |
- Return values
-
array | of grading instances with fillings for the definition id |
- Since
- Moodle 2.6
◆ get_gradingform_instances_parameters()
static core_grading_external::get_gradingform_instances_parameters |
( |
| ) |
|
|
static |
Describes the parameters for get_gradingform_instances.
- Return values
-
external_function_parameters | |
- Since
- Moodle 2.6
◆ get_gradingform_instances_returns()
static core_grading_external::get_gradingform_instances_returns |
( |
| ) |
|
|
static |
Describes the get_gradingform_instances return value.
- Return values
-
external_single_structure | |
- Since
- Moodle 2.6
◆ save_definitions()
static core_grading_external::save_definitions |
( |
| $areas | ) |
|
|
static |
Saves the areas and definitions.
- Parameters
-
array | $areas | array of areas containing definitions to be saved |
- Return values
-
- Exceptions
-
- Since
- Moodle 2.8
◆ save_definitions_parameters()
static core_grading_external::save_definitions_parameters |
( |
| ) |
|
|
static |
Describes the parameters for save_definitions.
- Return values
-
external_function_parameters | |
- Since
- Moodle 2.8
◆ save_definitions_returns()
static core_grading_external::save_definitions_returns |
( |
| ) |
|
|
static |
Describes the return value for save_definitions.
- Return values
-
external_single_structure | |
- Since
- Moodle 2.8
The documentation for this class was generated from the following file:
- lib/classes/grading_external.php