HTML_CSS::setGroupStyle
Synopsis
void|int|PEAR_Error HTML_CSS::setGroupStyle (
mixed $group
, string $property
, string $value
, bool $duplicates
= null
)
Description
Define the new value of a property for a CSS group. The group should exist. If not, use HTML_CSS::createGroup() first
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
Throws
throws HTML_CSS_ERROR_INVALID_INPUT, HTML_CSS_ERROR_NO_GROUP
Since
since version 0.3.0 (2003-11-03)
Note
This function can not be called statically.