You are here

function advagg_get_file_data in Advanced CSS/JS Aggregation 6

Same name and namespace in other branches
  1. 7 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_admin_info_form in ./advagg.admin.inc
Form builder; Configure advagg settings.
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.

File

./advagg.module, line 1771
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;
}