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

Since

Release 0.3.0 (2003-11-03)

Note

This function can not be called statically.

HTML_CSS : The Definitive Guide v 1.4.0 : December 14, 2007