\CustomRequirementsBackend
CustomRequirementsBackend overwrites specific javascript functionality to use MD5 instead of filemtime
Synopsis
class CustomRequirementsBackend
extends Requirements_Backend
{
- // methods
- public void javascript()
- protected string|bool path_for_file()
- public void process_combined_files()
Hierarchy
Extends
- Requirements_Backend
Methods
protected
- path_for_file() — Finds the path for specified file
public
- javascript() — Register the given JavaScript file as required.
- process_combined_files() — Do the heavy lifting involved in combining (and, in the case of JavaScript minifying) the combined files.