PEAR Manual
Prev |  | Next

# HTML_QuickForm::accept()

HTML_QuickForm::accept() -- Accepts a renderer

## Synopsis

    require_once 'HTML/QuickForm.php';

``void HTML_QuickForm::accept` (object &$renderer)`

## Description

Accepts a renderer. This method is a part of the Visitor design pattern implementation.

## Parameter

object `&$renderer`

  HTML_QuickForm_Renderer object

## Throws

throws no exceptions thrown

## Note

since 3.0

This function can not be called statically.

Prev | Home | Next
HTML_QuickForm::getValidationScript() | Up | HTML_QuickForm::defaultRenderer()