Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
|
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, $mtraceprogress=false) | |
Generates and saves the CSS files for the given theme configs. | |
theme_get_config_file_path ($themename) | |
Get the path to a theme config.php file. | |
theme_get_css_filename ($themename, $globalrevision, $themerevision, $direction) | |
Get the path to the local cached CSS file. | |
theme_get_locked_theme_for_device ($device) | |
Returns the theme named defined in config.php for the given device. | |
theme_get_next_revision () | |
Calculates and returns the next theme revision number. | |
theme_get_next_sub_revision_for_theme ($themename) | |
Calculates and returns the next theme revision number. | |
theme_get_revision () | |
Returns current theme revision number. | |
theme_get_sub_revision_for_theme ($themename) | |
Returns current theme sub revision number. | |
theme_is_device_locked ($device) | |
Checks if the given device has a theme defined in config.php. | |
theme_reset_all_caches () | |
Invalidate all server and client side caches. | |
theme_reset_static_caches () | |
Reset static caches. | |
theme_set_designer_mod ($state) | |
Enable or disable theme designer mode. | |
theme_set_revision ($revision) | |
Sets the current theme revision number. | |
theme_set_sub_revision_for_theme ($themename, $revision) | |
Sets the current theme revision number for a specific theme. | |
Functions for generating the HTML that Moodle should output.
Please see http://docs.moodle.org/en/Developement:How_Moodle_outputs_HTML for an overview.