Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
|
Functions used by gradebook plugins and reports. More...
Classes | |
class | grade_helper |
Grade helper class. More... | |
class | grade_plugin_info |
A simple class containing info about grade plugins. More... | |
class | grade_plugin_return |
Utility class used for return tracking when using edit and other forms in grade plugins. More... | |
class | grade_seq |
Flat structure similar to grade tree. More... | |
class | grade_structure |
General structure representing grade items in course. More... | |
class | grade_tree |
This class represents a complete tree of categories, grade_items and final grades, organises as an array primarily, but which can also be converted to other formats. More... | |
class | graded_users_iterator |
This class iterates over all users that are graded in a course. More... | |
Functions | |
get_gradable_users (int $courseid, ?int $groupid=null, bool $onlyactiveenrol=false) | |
Load a valid list of gradable users in a course. | |
grade_build_nav ($path, $pagename=null, $id=null) | |
Function central to gradebook for building and printing the navigation (breadcrumb trail). | |
grade_button ($type, $courseid, $object) | |
Local shortcut function for creating an edit/delete button for a grade_* object. | |
moodle_page | grade_extend_settings ($plugininfo, $courseid) |
This method adds settings to the settings block for the grade system and its plugins. | |
grade_get_graded_users_select ($report, $course, $userid, $groupid, $includeall) | |
grade_get_plugin_info ($courseid, $active_type, $active_plugin) | |
grade_get_plugin_info | |
grade_hide_min_max_grade_upgrade_notice ($courseid) | |
Hide warning about changed grades during upgrade from 2.8.0-2.8.6 and 2.9.0. | |
grade_upgrade_use_min_max_from_grade_grade ($courseid) | |
Use the grade min and max from the grade_grade. | |
grade_upgrade_use_min_max_from_grade_item ($courseid) | |
Use the grade min and max from the grade_item. | |
hide_aggregatesubcats_upgrade_notice ($courseid) | |
Hide warning about changed grades during upgrade to 2.8. | |
hide_gradebook_calculations_freeze_notice ($courseid) | |
Hide warning about changed grades due to bug fixes. | |
hide_natural_aggregation_upgrade_notice ($courseid) | |
Hide warning about changed grades during upgrade to 2.8. | |
print_grade_page_head (int $courseid, string $active_type, ?string $active_plugin=null, $heading=false, bool $return=false, $buttons=false, bool $shownavigation=true, ?string $headerhelpidentifier=null, ?string $headerhelpcomponent=null, ?stdClass $user=null, ?action_bar $actionbar=null, $showtitle=true) | |
Prints the page headers, breadcrumb trail, page heading, (optional) navigation and for any gradebook page. | |
print_graded_users_selector ($course, $actionpage, $userid=0, $groupid=0, $includeall=true, $return=false) | |
Print a selection popup form of the graded users in a course. | |
print_natural_aggregation_upgrade_notice ($courseid, $context, $thispage, $return=false) | |
Print warning about changed grades during upgrade to 2.8. | |
Functions used by gradebook plugins and reports.