[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 224 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Less_Cache:: (8 methods):
Get()
Regen()
Cache()
OutputFile()
CompiledName()
SetCacheDir()
CheckCacheDir()
CleanCache()
Class: Less_Cache - X-Ref
Utility for handling the generation and caching of css filesGet( $less_files, $parser_options = array() X-Ref |
Save and reuse the results of compiled less files. The first call to Get() will generate css and save it. Subsequent calls to Get() with the same arguments will return the same css filename param: array $less_files Array of .less files to compile param: array $parser_options Array of compiler options param: boolean $use_cache Set to false to regenerate the css file return: string Name of the css file |
Regen( $less_files, $parser_options = array() X-Ref |
Force the compiler to regenerate the cached css file param: array $less_files Array of .less files to compile param: array $parser_options Array of compiler options return: string Name of the css file |
Cache( &$less_files, $parser_options = array() X-Ref |
No description |
OutputFile( $compiled_name, $parser_options ) X-Ref |
No description |
CompiledName( $files ) X-Ref |
No description |
SetCacheDir( $dir ) X-Ref |
No description |
CheckCacheDir() X-Ref |
No description |
CleanCache() X-Ref |
No description |
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |