Introduction | |
PEAR Manual | |
require_once 'HTML/QuickForm.php'; |
void HTML_QuickForm::HTML_QuickForm (
string $formName = ''
, string $method = 'post'
, string $action = ''
, string $target = ''
, mixed $attributes = NULL
, bool $trackSubmit = FALSE
)
Constructor, sets <form> tag attributes and loads submitted values.
Form's name.
(optional) Form's method
(optional) Form's action
(optional) Form's target
(optional) Extra attributes for <form> tag
(optional) Whether to track if the form was submitted by adding a special hidden field. If the name of such field is not present in the $_GET or $_POST values, the form will be considered as not submitted.
throws no exceptions thrown
This function can not be called statically.
Introduction | |
PEAR Manual | |