Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Functions for generating the HTML that Moodle should output. More...
Classes | |
class | theme_config |
class | xhtml_container_stack |
Functions | |
theme_build_css_for_themes ($themeconfigs=[], $directions=['rtl', 'ltr'], $cache=true) | |
Generates and saves the CSS files for the given theme configs. More... | |
theme_get_config_file_path ($themename) | |
Get the path to a theme config.php file. More... | |
theme_get_css_filename ($themename, $globalrevision, $themerevision, $direction) | |
Get the path to the local cached CSS file. More... | |
theme_get_locked_theme_for_device ($device) | |
Returns the theme named defined in config.php for the given device. More... | |
theme_get_next_revision () | |
Calculates and returns the next theme revision number. More... | |
theme_get_next_sub_revision_for_theme ($themename) | |
Calculates and returns the next theme revision number. More... | |
theme_get_revision () | |
Returns current theme revision number. More... | |
theme_get_sub_revision_for_theme ($themename) | |
Returns current theme sub revision number. More... | |
theme_is_device_locked ($device) | |
Checks if the given device has a theme defined in config.php. More... | |
theme_reset_all_caches () | |
Invalidate all server and client side caches. More... | |
theme_set_designer_mod ($state) | |
Enable or disable theme designer mode. More... | |
theme_set_revision ($revision) | |
Sets the current theme revision number. More... | |
theme_set_sub_revision_for_theme ($themename, $revision) | |
Sets the current theme revision number for a specific theme. More... | |
Functions for generating the HTML that Moodle should output.
Please see http://docs.moodle.org/en/Developement:How_Moodle_outputs_HTML for an overview.