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.

Checking data sources (Previous) Output (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.