PEAR Manual
Prev |  | Next

# HTML_QuickForm_Renderer::renderElement()

HTML_QuickForm_Renderer::renderElement() -- Visit an element (package developer related)

## Synopsis

    require_once 'HTML/QuickForm/Renderer.php';

``void HTML_QuickForm_Renderer::renderElement` (object &$element, bool $required, string $error)`

## Description

Called when visiting an element

## Parameter

object `&$element`

  HTML_QuickForm_element object being visited

boolean `$required`

  Whether an element is required

string `$error`

  An error message associated with an element

## Throws

throws no exceptions thrown

## Note

abstract

This function can not be called statically.

Prev | Home | Next
HTML_QuickForm_Renderer::finishGroup() | Up | HTML_QuickForm_Renderer::renderHeader()