|
| | __construct (moodle_page $page, int $type, null|bool ?bool $showmanage=null, protected bool bool $showaddbadge=true, protected moodle_url ?moodle_url $backurl=null,) |
| | The constructor.
|
| |
| | export_for_template (renderer_base $output) |
| | Export the action bar.
|
| |
| | get_template () |
| | The template that this tertiary nav should use.
|
| |
| | get_third_party_nav_action (renderer_base $output) |
| | Gets additional third party navigation nodes for display.
|
| |
|
|
moodle_page | $page |
| | $page The context we are operating within.
|
| |
|
int | $type |
| | $type The badge type.
|
| |
◆ __construct()
| core_badges\output\standard_action_bar::__construct |
( |
moodle_page | $page, |
|
|
int | $type, |
|
|
null|bool ?bool | $showmanage = null, |
|
|
protected bool bool | $showaddbadge = true, |
|
|
protected moodle_url ?moodle_url | $backurl = null ) |
The constructor.
- Parameters
-
| $showmanage | $showmanage This parameter has been deprecated since 4.5 and should not be used anymore. |
| $showaddbadge | $showaddbadge Whether or not to show the add badges button. |
| $backurl | $backurl BackURL to be used when the back button is required. |
◆ 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 |
◆ 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
-
| renderer_base | $output | The output |
- 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