Differences Between: [Versions 311 and 400] [Versions 311 and 401] [Versions 311 and 402] [Versions 311 and 403]
Contains renderers for the bulk activity completion stuff.
Copyright: | 2017 Adrian Greeve |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 115 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
core_course_bulk_activity_completion_renderer:: (5 methods):
navigation()
bulkcompletion()
defaultcompletion()
edit_bulk_completion()
edit_default_completion()
Class: core_course_bulk_activity_completion_renderer - X-Ref
Main renderer for the bulk activity completion stuff.navigation($courseorid, $page) X-Ref |
Render the navigation tabs for the completion page. param: int|stdClass $courseorid the course object or id. param: String $page the tab to focus. return: string html |
bulkcompletion($data) X-Ref |
Render the bulk completion tab. param: Array|stdClass $data the context data to pass to the template. return: bool|string |
defaultcompletion($data) X-Ref |
Render the default completion tab. param: Array|stdClass $data the context data to pass to the template. return: bool|string |
edit_bulk_completion($form, $activities) X-Ref |
Renders the form for bulk editing activities completion param: moodleform $form param: array $activities return: string |
edit_default_completion($form, $modules) X-Ref |
Renders the form for editing default completion param: moodleform $form param: array $modules return: string |