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

Functions

 js_send_cached ($jspath, $etag, $filename='javascript.php')
 Send javascript file content with as much caching as possible.
 
 js_send_css_not_found ()
 Sends a 404 message about CSS not being found.
 
 js_send_uncached ($js, $filename='javascript.php')
 Send javascript without any caching.
 
 js_send_unmodified ($lastmodified, $etag)
 Send file not modified headers.
 
 js_write_cache_file_content ($file, $content)
 Create cache file for JS content.