Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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: