public function CSSCompression_Setup::__construct in Advanced CSS/JS Aggregation 6
Same name and namespace in other branches
- 7 advagg_css_compress/css-compressor-3.x/src/lib/Setup.inc \CSSCompression_Setup::__construct()
Stash a reference to the controller on each instantiation
Parameters
(class) control: CSSCompression Controller:
File
- advagg_css_compress/
css-compressor-3.x/ src/ lib/ Setup.inc, line 62
Class
- CSSCompression_Setup
- CSS Compressor [VERSION] [DATE] Corey Hart @ http://www.codenothing.com
Code
public function __construct(CSSCompression_Control $control) {
$this->Control = $control;
$this->Individuals = $control->Individuals;
$this->token = CSSCompression::TOKEN;
$this->options =& $control->Option->options;
$this->stats =& $control->stats;
}