Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
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: