Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
core\output\dynamic_tabs Class Reference
Inheritance diagram for core\output\dynamic_tabs:
templatable

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 = []
 

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: