Свойство | Тип | Описание | |
---|---|---|---|
$_data | mixed | Original CSS data. | |
$_opts | array | Minification options. |
Метод | Описание | |
---|---|---|
__construct ( mixed $css, array $opts = [] ) | Constructor. | |
__toString ( ) | ||
minify ( ) : string | Return the minified CSS. | |
setOptions ( array $opts = [] ) | Set minification options. |
public __construct ( mixed $css, array $opts = [] ) | ||
$css | mixed | Either a string (the CSS text to compress) or an array of URLs (keys) to filenames (values) containing the CSS data to compress. |
$opts | array | Additional options. See setOptions(). |
public setOptions ( array $opts = [] ) | ||
$opts | array | Options:
- logger: (Horde_Log_Logger) Log object to use for log messages. |