Exemplo n.º 1
0
 /**
  * Stash a reference to the controller on each instantiation
  * and install conversion helpers
  *
  * @param (class) control: CSSCompression Controller
  */
 public function __construct(CSSCompression_Control $control)
 {
     $this->Control = $control;
     $this->options =& $control->Option->options;
     if (!self::$color2hex) {
         foreach (self::$files as $v => $file) {
             self::${$v} = CSSCompression::getJSON($file);
         }
     }
 }