public function CSSCompression_Combine_Background::access in Advanced CSS/JS Aggregation 6
Same name and namespace in other branches
- 7 advagg_css_compress/css-compressor-3.x/src/lib/Combine/Background.inc \CSSCompression_Combine_Background::access()
Access to private methods for testing
Parameters
(string) method: Method to be called:
(array) args: Array of paramters to be passed in:
File
- advagg_css_compress/
css-compressor-3.x/ src/ lib/ Combine/ Background.inc, line 96
Class
- CSSCompression_Combine_Background
- CSS Compressor [VERSION] [DATE] Corey Hart @ http://www.codenothing.com
Code
public function access($method, $args) {
if (method_exists($this, $method)) {
return call_user_func_array(array(
$this,
$method,
), $args);
}
else {
throw new CSSCompression_Exception("Unknown method in Background Class - " . $method);
}
}