Stash a reference to the controller on each instantiation
Paramètres
(class) control: CSSCompression Controller:
Fichier
-
advagg_css_compress/
css-compressor-3.x/ src/ lib/ Compress.inc, line 60
Classe
- CSSCompression_Compress
- CSS Compressor [VERSION] [DATE] Corey Hart @ http://www.codenothing.com
Code
public function __construct(CSSCompression_Control $control) {
$this->Control = $control;
$this->options =& $control->Option->options;
$this->stats =& $control->stats;
foreach ($this->others as $class) {
$this->{$class} = $control->{$class};
}
}