Backdoor access to subclasses ONLY FOR DEVELOPMENT/TESTING.
Paramètres
(string) class: Name of the focus class:
(string) method: Method function to call:
(array) args: Array of arguments to pass in:
Fichier
-
advagg_css_compress/
css-compressor-3.x/ src/ CSSCompression.inc, line 425
Classe
Code
public function access($class = NULL, $method = NULL, $args = NULL) {
if (!self::DEV) {
throw new CSSCompression_Exception("CSSCompression is not in development mode.");
}
else {
if ($class === NULL || $method === NULL || $args === NULL) {
throw new CSSCompression_Exception("Invalid Access Call.");
}
else {
if (!is_array($args)) {
throw new CSSCompression_Exception("Expecting array of arguments.");
}
}
}
return $this->Control
->access($class, $method, $args);
}