Local lib code
Copyright: | 2015 Skylar Kelty <S.Kelty@kent.ac.uk> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 208 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
tool_recyclebin_extend_navigation_course($navigation, $course, $context) X-Ref |
Adds a recycle bin link to the course admin menu. param: navigation_node $navigation The navigation node to extend param: stdClass $course The course to object for the tool param: context $context The context of the course return: void|null return null if we don't want to display the node. |
tool_recyclebin_extend_navigation_category_settings($navigation, $context) X-Ref |
Adds a recycle bin link to the course admin menu. param: navigation_node $navigation The navigation node to extend param: context $context The context of the course return: void|null return null if we don't want to display the node. |
tool_recyclebin_pre_course_module_delete($cm) X-Ref |
Hook called before we delete a course module. param: \stdClass $cm The course module record. |
tool_recyclebin_course_module_background_deletion_recommended() X-Ref |
Hook called to check whether async course module deletion should be performed or not. return: true if background deletion is required (is the recyclebin is enabled), false otherwise. |
tool_recyclebin_pre_course_delete($course) X-Ref |
Hook called before we delete a course. param: \stdClass $course The course record. |
tool_recyclebin_pre_course_category_delete($category) X-Ref |
Hook called before we delete a category. param: \stdClass $category The category record. |
tool_recyclebin_get_fontawesome_icon_map() X-Ref |
Map icons for font-awesome themes. |