IP.Board  3.3.0
Minify_CSS_Compressor Class Reference

Static Public Member Functions

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

Protected Member Functions

 _commentCB ($m)
 _fontFamilyCB ($m)
 _process ($css)
 _selectorsCB ($m)

Protected Attributes

 $_inHack = false
 $_options = null

Member Function Documentation

_commentCB ( m) [protected]

Process a comment and return a replacement

Parameters:
array$mregex matches
Returns:
string
_fontFamilyCB ( m) [protected]

Process a font-family listing and return a replacement

Parameters:
array$mregex matches
Returns:
string
_process ( css) [protected]

Minify a CSS string

Parameters:
string$css
Returns:
string
_selectorsCB ( m) [protected]

Replace what looks like a set of selectors

Parameters:
array$mregex matches
Returns:
string
static process ( css,
options = array() 
) [static]

Minify a CSS string

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

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables