JavaScript Editor Javascript validator     Web page editor 



HTML_CSS::createGroup()

HTML_CSS::createGroup() -- Create a new CSS definition group

Synopsis

require_once 'HTML/CSS.php';

mixed|PEAR_Error HTML_CSS::createGroup (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.

See

see HTML_CSS::unsetGroup()

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.




JavaScript Editor Javascript validator     Web page editor