|
Moodle
2.2.1
http://www.collinsharper.com
|
Static Public Member Functions | |
| static | process ($css, $options=array()) |
Protected Member Functions | |
| _process ($css) | |
| _selectorsCB ($m) | |
| _commentCB ($m) | |
| _fontFamilyCB ($m) | |
Protected Attributes | |
| $_options = null | |
| $_inHack = false | |
Definition at line 21 of file Compressor.php.
| _commentCB | ( | $ | m | ) | [protected] |
Process a comment and return a replacement
| array | $m | regex matches |
Definition at line 177 of file Compressor.php.
| _fontFamilyCB | ( | $ | m | ) | [protected] |
Process a font-family listing and return a replacement
| array | $m | regex matches |
Definition at line 237 of file Compressor.php.
| _process | ( | $ | css | ) | [protected] |
Minify a CSS string
| string | $css |
Definition at line 69 of file Compressor.php.
| _selectorsCB | ( | $ | m | ) | [protected] |
Replace what looks like a set of selectors
| array | $m | regex matches |
Definition at line 164 of file Compressor.php.
Minify a CSS string
| string | $css | |
| array | $options | (currently ignored) |
Definition at line 32 of file Compressor.php.

$_inHack = false [protected] |
Definition at line 48 of file Compressor.php.
$_options = null [protected] |
Definition at line 41 of file Compressor.php.