You are here

public function CSSCompression_Trim::__construct in Advanced CSS/JS Aggregation 6

Same name and namespace in other branches
  1. 7 advagg_css_compress/css-compressor-3.x/src/lib/Trim.inc \CSSCompression_Trim::__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/Trim.inc, line 101

Class

CSSCompression_Trim
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;
}