Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Functions
querylib.php File Reference

Functions used to retrieve grades objects. More...

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. More...
 
 grade_get_course_grades ($courseid, $userid_or_ids=null)
 Returns the aggregated or calculated course grade(s) for a single course for one or more users. More...
 
 grade_get_gradable_activities ($courseid, $modulename='')
 Returns an array of activities (defined as $cm objects) which are gradeable from gradebook, outcomes are ignored. More...
 
 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. More...
 
 grade_is_user_graded_in_activity ($cm, $userid)
 Returns whether or not a user received grades in main grade item for given activity. More...
 

Detailed Description

Functions used to retrieve grades objects.