PEAR Manual
Prev |  | Next

# 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.

## Parameter

string `$formName`

  Form's name

string `$method`

  Form's method

string `$target`

  Form's target

mixed `$attributes`

  Extra attributes for <form> tag

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
Class Summary HTML_QuickForm_Page | Up | Page::addAction()