PEAR logo

HTML_CSS : The Definitive Guide



Name

constructor HTML_CSS::HTML_CSS - Class constructor

Synopsis

      require_once 'HTML/CSS.php';
     
void constructor HTML_CSS::HTML_CSS( $attributes = array(),
$errorPrefs = array());
array $attributes = array();
array $errorPrefs = array();

Description

This package is not documented yet.

Parameter

array $attributes

(optional) Pass options to the constructor. Valid options are :

  • xhtml (sets xhtml compliance),

  • tab (sets indent string),

  • filename (name of file to be parsed),

  • cache (determines whether the nocache headers are sent),

  • oneline (whether to output each definition on one line),

  • groupsfirst (determines whether to output groups before elements)

  • allowduplicates (allow to have duplicate rules in selector)

array $errorPrefs

(optional) has to configure error handler

Throws

throws no exceptions thrown

Note

since 0.2.0

This function can not be called statically.

HTML_CSS : The Definitive Guide v 1.1.3 : February 18, 2007