|
badge | $badge |
| $badge The badge we are managing.
|
|
moodle_page | $page |
| $page The context we are operating within.
|
|
int | $type |
| $type The badge type.
|
|
◆ __construct()
core_badges\output\manage_badge_action_bar::__construct |
( |
badge | $badge, |
|
|
moodle_page | $page ) |
manage_badge_action_bar constructor
- Parameters
-
badge | $badge | The badge we are viewing |
moodle_page | $page | The page object |
◆ expected_items()
core_badges\output\base_action_bar::expected_items |
( |
| ) |
|
|
protectedinherited |
Expected navigation node keys for badges.
- Return values
-
array | default badge navigation node keys. |
◆ export_for_template()
core_badges\output\manage_badge_action_bar::export_for_template |
( |
renderer_base | $output | ) |
|
◆ generate_badge_navigation()
core_badges\output\manage_badge_action_bar::generate_badge_navigation |
( |
| ) |
|
|
protected |
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 values
-
◆ get_badge_administration_mapping_construct()
core_badges\output\manage_badge_action_bar::get_badge_administration_mapping_construct |
( |
| ) |
|
|
protected |
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 values
-
◆ get_template()
core_badges\output\manage_badge_action_bar::get_template |
( |
| ) |
|
◆ get_third_party_nav_action()
core_badges\output\base_action_bar::get_third_party_nav_action |
( |
renderer_base | $output | ) |
|
|
inherited |
Gets additional third party navigation nodes for display.
- Parameters
-
- Return values
-
array | All that sweet third party navigation action. |
The documentation for this class was generated from the following file:
- badges/classes/output/manage_badge_action_bar.php