PEAR logo

HTML_CSS : The Definitive Guide

Name

HTML_CSS::parseData — Parse multiple data sources

Synopsis

    require_once 'HTML/CSS.php';
   
void|PEAR_Error HTML_CSS::parseData( $styles,  
  $duplicates = NULL);  
array   $styles;
bool   $duplicates = NULL;

Description

Parse data sources, file(s) or string(s), that contains CSS information

Parameter

array $styles

data sources to parse

boolean $duplicates

(optional) Allow or disallow duplicates.

See

see HTML_CSS::parseString , HTML_CSS::parseFile

Throws

throws HTML_CSS_ERROR_INVALID_INPUT

Since

since version 1.0.0RC2 (2005-12-15)

Note

This function can not be called statically.

HTML_CSS : The Definitive Guide v 1.5.0 : January 15, 2008