HTML_QuickForm_Renderer_Default::setGroupTemplate()

HTML_QuickForm_Renderer_Default::setGroupTemplate() – Sets template for a group wrapper

Synopsis

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

void HTML_QuickForm_Renderer_Default::setGroupTemplate ( string $html , string $group )

Description

Sets template for a group wrapper

This template is contained within a group-as-element template set via setElementTemplate() and contains group's element templates, set via setGroupElementTemplate().

By default, the template is empty.

Parameter

string $html

The HTML surrounding group elements

string $group

Name of the group to apply template for

Throws

throws no exceptions thrown

Note

This function can not be called statically.