Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Functions | |
grade_get_course_grade ($userid, $courseid_or_ids=null) | |
Returns the aggregated or calculated course grade for a single user for one or more courses. | |
grade_get_course_grades ($courseid, $userid_or_ids=null) | |
Functions used to retrieve grades objects. | |
grade_get_gradable_activities ($courseid, $modulename='') | |
Returns an array of activities (defined as $cm objects) which are gradeable from gradebook, outcomes are ignored. | |
grade_get_grade_items_for_activity ($cm, $only_main_item=false) | |
Returns all grade items (including outcomes) or main item for a given activity identified by $cm object. | |
grade_is_user_graded_in_activity ($cm, $userid) | |
Returns whether or not a user received grades in main grade item for given activity. | |