HTML_QuickForm::toHtml() – Returns an HTML version of the form


require_once 'HTML/QuickForm.php';

string HTML_QuickForm::toHtml ( string $in_data = null )


Returns an HTML version of the form, uses Default renderer for this.


string $in_data

(optional) Any extra data to insert right before form is rendered. Data will be inserted via addElement('html', $in_data)

Return value

return Html version of the form


throws no exceptions thrown


since 1.0

This function can not be called statically.

Returns the form's contents in an array (Previous) Outputs an HTML version of the form (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.