Page::buildForm() – Builds a form.


require_once 'HTML/QuickForm/Page.php';

void HTML_QuickForm_Page::buildForm ( )


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 no exceptions thrown


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: Tue, 06 Oct 2015 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.