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.

Registers a handler for a specific action. (Previous) Returns a name for a submit button that will invoke a specific action. (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.