function advagg_get_file_data in Advanced CSS/JS Aggregation 7
Same name and namespace in other branches
- 6 advagg.module \advagg_get_file_data()
Get data about a file.
Parameters
$filename_md5: md5 of filename.
Return value
data array from database.
4 calls to advagg_get_file_data()
- advagg_js_compress_prep in advagg_js_compress/
advagg_js_compress.module - Compress a JS string
- advagg_js_compress_test_compression in advagg_js_compress/
advagg_js_compress.module - Run various theme functions so the cache is primed.
- advagg_js_compress_test_file in advagg_js_compress/
advagg_js_compress.module - Run various theme functions so the cache is primed.
- _advagg_admin_settings_information in includes/
admin.inc
File
- ./
advagg.module, line 1727 - Advanced CSS/JS aggregation module
Code
function advagg_get_file_data($filename_md5) {
$data = cache_get($filename_md5, 'cache_advagg_files_data');
if (empty($data->data)) {
return FALSE;
}
return $data->data;
}