PEAR logo

HTML_CSS : The Definitive Guide

Name

HTML_CSS::parseString — Parse a textstring that contains css information

Synopsis

      require_once '/CSS.php';
     
void|PEAR_Error HTML_CSS::parseString( $str,  
  $duplicates = NULL);  
string   $str;
bool   $duplicates = NULL;

Description

This package is not documented yet.

Parameter

string $str

text string to parse

boolean $duplicates

(optional) Allows or disallows duplicate style definitions

See

see HTML_CSS::createGroup, HTML_CSS::setGroupStyle, HTML_CSS::setStyle

Throws

throws HTML_CSS_ERROR_INVALID_INPUT

Note

since 0.3.0

This function can not be called statically.

HTML_CSS : The Definitive Guide v 1.0.0 : June 24, 2006