core grades functions
More...
|
static | update_grades ($source, $courseid, $component, $activityid, $itemnumber, $grades=array(), $itemdetails=array()) |
| Update a grade item and, optionally, student grades.
|
|
static | update_grades_parameters () |
| Returns description of method parameters.
|
|
static | update_grades_returns () |
| Returns description of method result value.
|
|
◆ update_grades()
static core_grades_external::update_grades |
( |
| $source, |
|
|
| $courseid, |
|
|
| $component, |
|
|
| $activityid, |
|
|
| $itemnumber, |
|
|
| $grades = array(), |
|
|
| $itemdetails = array() ) |
|
static |
Update a grade item and, optionally, student grades.
- Parameters
-
string | $source | The source of the grade update |
int | $courseid | The course id |
string | $component | Component name |
int | $activityid | The activity id |
int | $itemnumber | The item number |
array | $grades | Array of grades |
array | $itemdetails | Array of item details |
- Return values
-
- Since
- Moodle 2.7
◆ update_grades_parameters()
static core_grades_external::update_grades_parameters |
( |
| ) |
|
|
static |
Returns description of method parameters.
- Return values
-
external_function_parameters | |
- Since
- Moodle 2.7
◆ update_grades_returns()
static core_grades_external::update_grades_returns |
( |
| ) |
|
|
static |
Returns description of method result value.
- Return values
-
- Since
- Moodle 2.7
The documentation for this class was generated from the following file:
- lib/classes/grades_external.php