Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
core\output\dynamic_tabs Class Reference

Class dynamic tabs. More...

Inheritance diagram for core\output\dynamic_tabs:

Public Member Functions

 __construct (array $tabs=[])
 tabs constructor.
 
 add_tab (base $tab)
 Add a tab.
 
 export_for_template (renderer_base $output)
 Implementation of exporter from templatable interface.
 

Protected Attributes

base[] $tabs = []
 

Detailed Description

Class dynamic tabs.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Constructor & Destructor Documentation

◆ __construct()

core\output\dynamic_tabs::__construct ( array $tabs = [])

tabs constructor.

Parameters
base[]$tabsarray of tab

Member Function Documentation

◆ add_tab()

core\output\dynamic_tabs::add_tab ( base $tab)

Add a tab.

Parameters
base$tab

◆ export_for_template()

core\output\dynamic_tabs::export_for_template ( renderer_base $output)

Implementation of exporter from templatable interface.

Parameters
renderer_base$output
Return values
array

Implements templatable.


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