PEAR Manual
Prev |  | Next

# HTML_QuickForm_Renderer_Default::setGroupElementTemplate()

HTML_QuickForm_Renderer_Default::setGroupElementTemplate() -- Sets template for group elements

## Synopsis

    require_once 'HTML/QuickForm/Renderer/Default.php';

``void HTML_QuickForm_Renderer_Default::setGroupElementTemplate` (string $html, string $group)`

## Description

Sets element template for elements within a group.

By default, the template is empty.

## Parameter

string `$html`

  The HTML surrounding an element

string `$group`

  Name of the group to apply template for

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
HTML_QuickForm_Renderer_Default::setFormTemplate() | Up | HTML_QuickForm_Renderer_Default::setGroupTemplate()