See Release Notes
Long Term Support Release
(no description)
File Size: | 174 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
manage_badge_action_bar:: (5 methods):
__construct()
get_template()
export_for_template()
get_badge_administration_mapping_construct()
generate_badge_navigation()
Class: manage_badge_action_bar - X-Ref
Class manage_badge_action_bar - Display the action bar__construct(badge $badge, moodle_page $page) X-Ref |
manage_badge_action_bar constructor param: badge $badge The badge we are viewing param: moodle_page $page The page object |
get_template() X-Ref |
The template that this tertiary nav should use. return: string |
export_for_template(renderer_base $output) X-Ref |
Export the action bar param: renderer_base $output return: array |
get_badge_administration_mapping_construct() X-Ref |
Returns a multi dimensional array of the links that should be displayed when creating a badge. The keys of the array feed into the text shown to the user and content of each element contain the following: - url URL for the option - additionalparams Additional params to feed into the url - capability The capabilities to check that governs visibility return: array |
generate_badge_navigation() X-Ref |
Generate the options to be displayed when editing a badge. This feeds into a URL select which will be displayed in the tertiary navigation. return: array |