Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
core_admin\output\theme_selector Class Reference
Inheritance diagram for core_admin\output\theme_selector:
renderable templatable

Public Member Functions

 __construct (array $themedata, bool $definedinconfig=false)
 Constructor.
 
 export_for_template (renderer_base $output)
 Export this data so it can be used as the context for a mustache template.
 

Constructor & Destructor Documentation

◆ __construct()

core_admin\output\theme_selector::__construct ( array $themedata,
bool $definedinconfig = false )

Constructor.

Parameters
array$themedataTheme data used for template.
bool$definedinconfigWhether $CFG->theme is defined in config.php.

Member Function Documentation

◆ export_for_template()

core_admin\output\theme_selector::export_for_template ( renderer_base $output)

Export this data so it can be used as the context for a mustache template.

Parameters
renderer_base$outputRenderer base.
Return values
stdClass

Implements templatable.


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