PEAR logo

HTML_CSS : The Definitive Guide



Name

HTML_CSS::setGroupStyle - Sets or adds a CSS definition for a CSS definition group

Synopsis

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

Description

This package is not documented yet.

Parameter

mixed $group

CSS definition group identifier

string $property

Property defined

string $value

Value assigned

boolean $duplicates

(optional) Allow or disallow duplicates.

Return value

returns Returns an integer if duplicates are allowed.

See

see HTML_CSS::getGroupStyle

Throws

throws HTML_CSS_ERROR_INVALID_INPUT, HTML_CSS_ERROR_NO_GROUP

Note

since 0.3.0

This function can not be called statically.

HTML_CSS : The Definitive Guide v 1.1.0 : January 1, 2007