public function CSSCompression_Control::flush in Advanced CSS/JS Aggregation 7
Same name and namespace in other branches
- 6 advagg_css_compress/css-compressor-3.x/src/lib/Control.inc \CSSCompression_Control::flush()
Cleans out class variables for next run
@params none
2 calls to CSSCompression_Control::flush()
- CSSCompression_Control::compress in advagg_css_compress/
css-compressor-3.x/ src/ lib/ Control.inc - Proxy to run Compression on the sheet passed. Handle options here.
- CSSCompression_Control::reset in advagg_css_compress/
css-compressor-3.x/ src/ lib/ Control.inc - Resets options to their defaults, and flushes out variables
File
- advagg_css_compress/
css-compressor-3.x/ src/ lib/ Control.inc, line 158
Class
- CSSCompression_Control
- CSS Compressor [VERSION] [DATE] Corey Hart @ http://www.codenothing.com
Code
public function flush() {
$this->css = '';
$this->stats = array(
'before' => array(
'props' => 0,
'selectors' => 0,
'size' => 0,
'time' => 0,
),
'after' => array(
'props' => 0,
'selectors' => 0,
'size' => 0,
'time' => 0,
),
);
return true;
}