HTML_QuickForm_Renderer_Tableless::setElementTemplate

HTML_QuickForm_Renderer_Tableless::setElementTemplate() – Sets element template

Synopsis

void HTML_QuickForm_Renderer_Tableless::setElementTemplate ( string $html , string $element = null )

Description

Sets the template for elements.

Parameter

string $html

The HTML surrounding an element

mixed $element

(optional) Name(s) of the element to apply template for (either single element name as string or multiple element names as an array)

Throws

throws no exceptions thrown

Note

This function can not be called statically.

Clears all the HTML out of the templates that surround notes, elements, etc. (Previous) Sets the template used when closing a fieldset (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.