PEEL Shopping
Open source ecommerce : PEEL Shopping
Static Public Member Functions | Protected Member Functions | Protected Attributes
Minify_CSS_Compressor Class Reference

Static Public Member Functions

static process ($css, $options=array())
 Minify a CSS string. More...
 

Protected Member Functions

 _process ($css)
 Minify a CSS string. More...
 
 _selectorsCB ($m)
 Replace what looks like a set of selectors. More...
 
 _commentCB ($m)
 Process a comment and return a replacement. More...
 
 _fontFamilyCB ($m)
 Process a font-family listing and return a replacement. More...
 

Protected Attributes

 $_options = null
 
 $_inHack = false
 

Detailed Description

Definition at line 21 of file Minify_CSS_Compressor.php.

Member Function Documentation

_commentCB (   $m)
protected

Process a comment and return a replacement.

Parameters
array$mregex matches
Returns
string

Definition at line 178 of file Minify_CSS_Compressor.php.

_fontFamilyCB (   $m)
protected

Process a font-family listing and return a replacement.

Parameters
array$mregex matches
Returns
string

Definition at line 238 of file Minify_CSS_Compressor.php.

_process (   $css)
protected

Minify a CSS string.

Parameters
string$css
Returns
string

Definition at line 67 of file Minify_CSS_Compressor.php.

_selectorsCB (   $m)
protected

Replace what looks like a set of selectors.

Parameters
array$mregex matches
Returns
string

Definition at line 165 of file Minify_CSS_Compressor.php.

static process (   $css,
  $options = array() 
)
static

Minify a CSS string.

Parameters
string$css
array$options(currently ignored)
Returns
string

Definition at line 32 of file Minify_CSS_Compressor.php.

Field Documentation

$_inHack = false
protected

Definition at line 48 of file Minify_CSS_Compressor.php.

$_options = null
protected

Definition at line 41 of file Minify_CSS_Compressor.php.


The documentation for this class was generated from the following file:

This documentation for Open ecommerce PEEL Shopping and PEEL.fr has been generated by Doxygen on Thu Oct 15 2015 14:41:43 - Peel ecommerce is a product of Agence web Advisto SAS. All rights reserved.