constructor HTML_QuickForm_Controller()

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.