You are here

function advagg_build_filename in Advanced CSS/JS Aggregation 6

Same name and namespace in other branches
  1. 7.2 advagg.inc \advagg_build_filename()
  2. 7 advagg.module \advagg_build_filename()

Build the filename.

Parameters

$filetype: css or js.

$counter: Counter value.

$bundle_md5: Bundle's machine name.

3 calls to advagg_build_filename()
advagg_get_filename in ./advagg.module
Given a list of files; return back the aggregated filename.
advagg_missing_regenerate in ./advagg.missing.inc
regenerates a missing css file.
advagg_update_6108 in ./advagg.install
Update 6108 - Add new field & add indexes to advagg_bundles table.

File

./advagg.module, line 1159
Advanced CSS/JS aggregation module

Code

function advagg_build_filename($filetype, $bundle_md5, $counter) {
  return $filetype . '_' . $bundle_md5 . '_' . $counter . '.' . $filetype;
}