Documentation

Horde_Css_Parser
in package

Horde interface to the Sabberworm CSS Parser library.

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

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2013-2017 Horde LLC

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

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

Search results