HTML_CSS::parseString

HTML_CSS::parseString() – Parse a string

Synopsis

require_once 'HTML/CSS.php';

void|PEAR_Error HTML_CSS::parseString ( string $str , bool $duplicates = null )

Description

Parse a string that contains CSS information

Parameter

string $str

text string to parse

boolean $duplicates

(optional) Allows or disallows duplicate style definitions

Throws

throws HTML_CSS_ERROR_INVALID_INPUT

Since

since version 0.3.0 (2003-11-03)

Note

This function can not be called statically.

Parsing data sources (Previous) Parse file content (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.