[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Source view] [Print] [Project Stats]
Class Minify_Controller_Base
File Size: | 222 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
getDefaultMinifyOptions() X-Ref |
Get default Minify options for this controller. Override in subclass to change defaults return: array options for Minify |
getDefaultMinifers() X-Ref |
Get default minifiers for this controller. Override in subclass to change defaults return: array minifier callbacks for common types |
_fileIsSafe($file, $safeDirs) X-Ref |
Is a user-given file within an allowable directory, existing, and having an extension js/css/html/txt ? This is a convenience function for controllers that have to accept user-given paths param: string $file full file path (already processed by realpath()) param: array $safeDirs directories where files are safe to serve. Files can also return: bool file is safe |
checkAllowDirs($file, $allowDirs, $uri) X-Ref |
param: string $file param: array $allowDirs param: string $uri return: bool |
checkNotHidden($file) X-Ref |
param: string $file |
mixInDefaultOptions($options) X-Ref |
Mix in default controller options with user-given options param: array $options user options return: array mixed options |
analyzeSources($options = array() X-Ref |
Analyze sources (if there are any) and set $options 'contentType' and 'lastModifiedTime' if they already aren't. param: array $options options for Minify return: array options for Minify |
log($msg) X-Ref |
Send message to the Minify logger param: string $msg return: null |
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |