PEAR Manual
Prev |  | Next

# HTML_QuickForm::toHtml()

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

## Synopsis

    require_once 'HTML/QuickForm.php';

``string HTML_QuickForm::toHtml` ([string $in_data = `NULL`])`

## Description

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

## Parameter

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

throws no exceptions thrown

## Note

since 1.0

This function can not be called statically.

Prev | Home | Next
HTML_QuickForm::toArray() | Up | HTML_QuickForm_Controller