PEAR logo

HTML_CSS : The Definitive Guide

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.

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.

HTML_CSS : The Definitive Guide v 1.5.0 : January 15, 2008