See Release Notes
Long Term Support Release
(no description)
File Size: | 171 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
category_action_bar:: (4 methods):
__construct()
get_category_select()
get_additional_category_options()
export_for_template()
Class: category_action_bar - X-Ref
Class responsible for generating the action bar (tertiary nav) elements in an individual category page__construct(moodle_page $page, object $category, ?object $course = null, ?string $searchvalue = null) X-Ref |
Constructor category_action_bar param: moodle_page $page The page object param: object $category param: object|null $course The course that we are generating the nav for param: string|null $searchvalue |
get_category_select(\renderer_base $output) X-Ref |
Gets the url_select to be displayed in the participants page if available. param: \renderer_base $output return: object|null The content required to render the url_select |
get_additional_category_options() X-Ref |
Gets the additional options to be displayed within a 'More' dropdown in the tertiary navigation. The predefined order defined by UX is: - Add a course - Add a sub cat - Manage course - Request a course - Course pending approval return: array |
export_for_template(\renderer_base $output) X-Ref |
Export the content to be displayed on the category page. param: \renderer_base $output return: array Consists of the following: |