Horde_Css_Parser
in package
Horde interface to the Sabberworm CSS Parser library.
Source: https://github.com/sabberworm/PHP-CSS-Parser
Tags
Table of Contents
- $doc : Document
- The parsed CSS document object.
- $parser : Parser
- The parser object.
- __construct() : mixed
- Constructor.
- compress() : string
- Returns compressed CSS output.
Properties
$doc
The parsed CSS document object.
public
Document
$doc
$parser
The parser object.
public
Parser
$parser
Methods
__construct()
Constructor.
public
__construct(string $css[, Settings $settings = null ]) : mixed
Parameters
- $css : string
-
CSS data.
- $settings : Settings = null
Return values
mixed —compress()
Returns compressed CSS output.
public
compress() : string
Return values
string —Compressed CSS