HTML_QuickForm_Renderer_Default::setHeaderTemplate()

HTML_QuickForm_Renderer_Default::setHeaderTemplate() – Sets header template

Synopsis

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

void HTML_QuickForm_Renderer_Default::setHeaderTemplate ( string $html )

Description

Sets header template. The template should include the {header} placeholder.

The default header template is


"\n\t<tr>\n\t\t<td style=\"white-space: nowrap; background-color: #CCCCCC;\" align=\"left\" valign=\"top\" colspan=\"2\"><b>{header}</b></td>\n\t</tr>"

Parameter

string $html

The HTML surrounding the header

Throws

throws no exceptions thrown

Note

This function can not be called statically.

Sets template for a group wrapper (Previous) Sets the template for 'required' note (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.