constructor HTML_QuickForm_Controller()

constructor HTML_QuickForm_Controller() – Class constructor.

Synopsis

require_once 'HTML/QuickForm/Controller.php';

void constructor HTML_QuickForm_Controller::HTML_QuickForm_Controller ( string $name , bool $modal = true )

Description

Sets the form name and modal/non-modal behaviour. Different multipage forms should have different names, as they are used to store form values in session. Modal forms allow passing to the next page only when all of the previous pages are valid.

Parameter

string $name

form name

boolean $modal

whether the form is modal

Throws

throws no exceptions thrown

Note

This function can not be called statically.

The class implementing a PageController pattern. (Previous) Registers a handler for 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.