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.

The class represents a page of a multipage form. (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:

Note by: lighth7015@tampabay.rr.com
When using your own constructor in a Page handler:
If at first you don't succeed, MAKE SURE YOU CALL THE DAMN CONSTRUCTOR BEFORE YOU LEAVE.

- Robert