HTML_CSS : The Definitive Guide |
constructor HTML_CSS::HTML_CSS
—
Class constructor
require_once 'HTML/CSS.php';
void constructor HTML_CSS::HTML_CSS(
|
$attributes = array(), | |
$errorPrefs = array()) ;
|
array | $attributes = array(); |
array | $errorPrefs = 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)
$errorPrefs
(optional) has to configure error handler
HTML_CSS : The Definitive Guide | v 1.5.0 : January 15, 2008 |