[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/minify/ -> utils.php (summary)

Utility functions for generating URIs in HTML files

File Size: 81 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 functions

  Minify_getUri()
  Minify_mtime()

Functions
Functions that are not part of a class:

Minify_getUri($keyOrFiles, $opts = array()   X-Ref
No description

Minify_mtime($keysAndFiles, $groupsConfigFile = null)   X-Ref
Get the last modification time of several source js/css files. If you're
caching the output of Minify_getUri(), you might want to know if one of the
dependent source files has changed so you can update the HTML.

Since this makes a bunch of stat() calls, you might not want to check this
on every request.

param: array $keysAndFiles group keys and/or file paths/URIs.
return: int latest modification time of all given keys/files



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1