PEAR Manual
Prev |  | Next

# Page::buildForm()

Page::buildForm() -- Builds a form.

## Synopsis

    require_once 'HTML/QuickForm/Page.php';

``void HTML_QuickForm_Page::buildForm` ()`

## Description

Builds a form. You should override this method when you subclass HTML_QuickForm_Page, it should contain all the necessary addElement(), applyFilter(), addRule() and possibly setDefaults() and setConstants() calls. The method will be called on demand, so please be sure to set `$_formBuilt` property to `TRUE` to assure that the method works only once.

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
Page::addAction() | Up | Page::getButtonName()