|
moodle_url | $backurl |
| $backurl BackURL to be used when the back button is required.
|
|
moodle_page | $page |
| $page The context we are operating within.
|
|
bool | $showaddbadge |
| $showaddbadge Whether or not to show the add badges button.
|
|
bool | $showmanage |
| $showmanage Whether or not to show the manage badges button.
|
|
int | $type |
| $type The badge type.
|
|
◆ __construct()
core_badges\output\standard_action_bar::__construct |
( |
moodle_page | $page, |
|
|
int | $type, |
|
|
bool | $showmanage = true, |
|
|
| $showaddbadge = true, |
|
|
?moodle_url | $backurl = null ) |
standard_action_bar constructor
- Parameters
-
moodle_page | $page | The page object |
int | $type | The type of badge we are operating with |
bool | $showmanage | Whether or not to show the manage badges button |
bool | $showaddbadge | Whether or not to show the add badges button |
moodle_url | null | $backurl | The backurl to be used |
◆ 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\standard_action_bar::export_for_template |
( |
renderer_base | $output | ) |
|
Export the action bar.
- Parameters
-
- Return values
-
array | The buttons to be rendered |
Implements templatable.
◆ get_template()
core_badges\output\standard_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/standard_action_bar.php