Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Functions
csslib.php File Reference

This file contains CSS file serving functions. More...

Functions

 css_send_cached_css ($csspath, $etag)
 Sends a cached CSS file. More...
 
 css_send_cached_css_content ($csscontent, $etag)
 Sends a cached CSS content. More...
 
 css_send_css_not_found ()
 Sends a 404 message about CSS not being found.
 
 css_send_temporary_css ($css)
 Sends CSS directly and disables all caching. More...
 
 css_send_uncached_css ($css)
 Sends CSS directly without caching it. More...
 
 css_send_unmodified ($lastmodified, $etag)
 Send file not modified headers. More...
 
if(!defined( 'THEME_DESIGNER_CACHE_LIFETIME')) css_store_css (theme_config $theme, $csspath, $csscontent)
 Stores CSS in a file at the given path. More...
 
 css_write_file ($filename, $content)
 Writes a CSS file. More...
 

Detailed Description

This file contains CSS file serving functions.

NOTE: these functions are not expected to be used from any addons.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later