PEAR logo

HTML_CSS : The Definitive Guide



Name

HTML_CSS::setStyle - Sets or adds a CSS definition

Synopsis

      require_once 'HTML/CSS.php';
     
void|PEAR_Error HTML_CSS::setStyle( $element,
$property,
$value,
$duplicates = NULL);
string $element;
string $property;
string $value;
bool $duplicates = NULL;

Description

This package is not documented yet.

Parameter

string $element

Element (or class) to be defined

string $property

Property defined

string $value

Value assigned

boolean $duplicates

(optional) Allow or disallow duplicates.

See

see HTML_CSS::getStyle

Throws

throws HTML_CSS_ERROR_INVALID_INPUT

Note

since 0.2.0

This function can not be called statically.

HTML_CSS : The Definitive Guide v 1.1.3 : February 18, 2007