PEAR Manual
Prev |  | Next

# HTML_QuickForm_Renderer_QuickHtml::elementToHtml()

HTML_QuickForm_Renderer_QuickHtml::elementToHtml() -- Renders a specific form element into HTML

## Synopsis

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

``string HTML_QuickForm_Renderer_QuickHtml::elementToHtml` (string $elementName [, string $elementValue])`

## Description

Returns the HTML generated for a specific form element and marks that element as rendered.

## Parameter

`$elementName`

  The name of the form element that is being rendered.

`$elementValue`

  The value given to the form element. This is only useful for elements that have the same name (such as a radio button), and can only be told apart based on the value assigned to them.

## Throws

throws no exceptions thrown

Prev | Home | Next
HTML_QuickForm_Renderer_QuickHtml::toHtml() | Up | HTML_QuickForm_Controller