Overview

Packages

  • csstidy
  • Text
    • Filter

Classes

  • Horde_Text_Filter_Csstidy
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Text_Filter_Csstidy

This filter cleans up CSS output by running it through a PHP-based optimizer/compressor.

Original library (version 1.3) from http://csstidy.sourceforge.net/

Parameters:

level - (string) Level of compression.
        DEFAULT: 'highest_compression'
ob - (boolean) If true, return Csstidy object instead of string.
     DEFAULT: false
preserve_css - (boolean) Set preserve_css flag in csstidy engine?
               DEFAULT: true

Copyright 2009-2012 Horde LLC (http://www.horde.org/)

See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.

Horde_Text_Filter_Base
Extended by Horde_Text_Filter_Csstidy
Package: Text\Filter
Category: Horde
License: GPL
Author: Michael Slusarz slusarz@horde.org
Located at Horde/Text/Filter/Csstidy.php
Methods summary
public mixed
# postProcess( string $text )

Executes any code necessary after applying the filter patterns.

Executes any code necessary after applying the filter patterns.

Parameters

$text
The text after the filtering.

Returns

mixed

The modified text, or the Csstidy object if the 'ob' parameter is true.

API documentation generated by ApiGen