Name
HTML_CSS::createGroup
— Create a
new CSS definition group
Synopsis
require_once 'HTML/CSS.php';
mixed|PEAR_Error HTML_CSS::createGroup(
|
$selectors,
|
|
|
$group = NULL) ;
|
|
string
|
$selectors;
|
mixed
|
$group = NULL;
|
Description
Create a new CSS definition group. Return an integer identifying the
group.
Parameter
-
string
$selectors
-
Selector(s) to be defined, comma delimited.
-
mixed
$group
-
(optional) Group identifier. If not passed, will return an
automatically assigned integer.
Throws
throws
HTML_CSS_ERROR_INVALID_INPUT, HTML_CSS_ERROR_INVALID_GROUP
Since
since version 0.3.0
(2003-11-03)
Note
This function can not be called statically.