constructor HTML_QuickForm_Page()

constructor HTML_QuickForm_Page() -- Class constructor

Synopsis

require_once 'HTML/QuickForm/Page.php';

void constructor HTML_QuickForm_Page::HTML_QuickForm_Page (string $formName [, string $method = 'post' [, string $target = '_self' [, mixed $attributes = NULL]]])

Description

Note that unlike constructor of HTML_QuickForm there is no $action, as the form is always submitted to the current page. Note also that $formName is not optional.

Paramètres

chaîne de caractères $formName

Form's name

chaîne de caractères $method

Form's method

chaîne de caractères $target

Form's target

mixed $attributes

Extra attributes for <form> tag

Valeurs renvoyées

throws no exceptions thrown

Note

Cette fonction ne peut pas être appelée de façon statique.