You are here

public function CSSCompression_Individuals::__construct in Advanced CSS/JS Aggregation 7

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

Class

CSSCompression_Individuals
CSS Compressor [VERSION] [DATE] Corey Hart @ http://www.codenothing.com

Code

public function __construct(CSSCompression_Control $control) {
  $this->Control = $control;
  $this->Numeric = $control->Numeric;
  $this->Color = $control->Color;
  $this->options =& $control->Option->options;
}