HTML_CSS::validate

HTML_CSS::validate() – Validate a CSS data source

Synopsis

require_once 'HTML/CSS.php';

boolean|PEAR_Error HTML_CSS::validate ( array $styles , array &$messages )

Description

Execute the W3C CSS validator service on each data source (filename or string) given by parameter $styles.

Parameter

array $styles

Data sources to check validity

array &$messages

Error and Warning messages issue from W3C CSS validator service

Throws

throws HTML_CSS_ERROR_INVALID_INPUT, HTML_CSS_ERROR_INVALID_DEPS, HTML_CSS_ERROR_INVALID_SOURCE

Since

since version 1.5.0 (2008-01-15)

Note

This function can not be called statically.