\Horde_Css_Parser

Horde interface to the Sabberworm CSS Parser library.

Source: https://github.com/sabberworm/PHP-CSS-Parser

Summary

Methods
Properties
Constants
__construct()
compress()
$doc
$parser
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$doc

$doc : \Sabberworm\CSS\CSSList\Document

The parsed CSS document object.

Type

\Sabberworm\CSS\CSSList\Document

$parser

$parser : \Sabberworm\CSS\Parser

The parser object.

Type

\Sabberworm\CSS\Parser

Methods

__construct()

__construct(string  $css, \Sabberworm\CSS\Settings  $settings = null) 

Constructor.

Parameters

string $css

CSS data.

\Sabberworm\CSS\Settings $settings

compress()

compress() : string

Returns compressed CSS output.

Returns

string —

Compressed CSS