HTML_QuickForm_Renderer_Tableless::setElementTemplate() – Sets element template


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


Sets the template for elements.


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 no exceptions thrown


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: Sun, 04 Oct 2015 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.