^Status|Stub|
^Todo|Write it!|
====== Media Module ======
The Media Module is used to reduce the number and bandwidth of queries for CSS and JavaScript files. It **does not** support images at the current time.
Once the module has been enabled in the standard way, it will intercept requests for ''/media/css/...'' and ''/media/js/...'' transforming the results as specified in the config file media.php.
===== Configuration =====
read the config for now
===== Usage =====
Place all CSS files into the directory /application/views/media/css/ and all JavaScript files into /application/views/media/js/.
You then use the helpers to include them from your view pages like this:
=media::stylesheet(array('sheet1', 'sheet2', 'sheet3'))?>
=media::script(array('jquery', 'dojo'))?>
Not to confuse matters the above is simply a helper for writing the following: