Moodle PHP Documentation 5.0
Moodle 5.0.1+ (Build: 20250711) (61af040cd5f)
core_badges\output\base_action_bar Class Reference
Inheritance diagram for core_badges\output\base_action_bar:
core_badges\output\manage_badge_action_bar core_badges\output\standard_action_bar core_badges\output\recipients_action_bar

Public Member Functions

 __construct (moodle_page $page, int $type)
 standard_action_bar constructor.
 
 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.
 

Protected Member Functions

 expected_items ()
 Expected navigation node keys for badges.
 

Protected Attributes

moodle_page $page
 $page The context we are operating within.
 
int $type
 $type The badge type.
 

Constructor & Destructor Documentation

◆ __construct()

core_badges\output\base_action_bar::__construct ( moodle_page $page,
int $type )

standard_action_bar constructor.

Parameters
moodle_page$page
int$type

Member Function Documentation

◆ expected_items()

core_badges\output\base_action_bar::expected_items ( )
protected

Expected navigation node keys for badges.

Return values
arraydefault badge navigation node keys.

◆ get_template()

core_badges\output\base_action_bar::get_template ( )
abstract

The template that this tertiary nav should use.

Return values
string

Reimplemented in core_badges\output\manage_badge_action_bar, core_badges\output\recipients_action_bar, and core_badges\output\standard_action_bar.

◆ get_third_party_nav_action()

core_badges\output\base_action_bar::get_third_party_nav_action ( renderer_base $output)

Gets additional third party navigation nodes for display.

Parameters
renderer_base$outputThe output
Return values
arrayAll that sweet third party navigation action.

The documentation for this class was generated from the following file: