Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
outputlib.php File Reference

Classes

class  theme_config
 This class represents the configuration variables of a Moodle theme. More...
 
class  xhtml_container_stack
 This class keeps track of which HTML tags are currently open. More...
 

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_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_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.