previousHTML_QuickForm_Page クラス概要 (Previous) (Next) Page::addAction()next

View this page in Last updated: Sun, 21 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

constructor HTML_QuickForm_Page()

constructor HTML_QuickForm_Page() – クラスコンストラクタ

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

HTML_QuickForm のコンストラクタとは異なり、 $action が存在しないことに注意しましょう。 これは、フォームが常に現在のページから送信されるためです。 また、$formName が オプションではないことにも注意しましょう。

Parameter

string $formName

フォーム名です。

string $method

フォームのメソッドです。

string $target

フォームのターゲットです。

mixed $attributes

フォームタグのためのその他の属性です。

Throws

例外はスローされません。

Note

This function can not be called statically.

previousHTML_QuickForm_Page クラス概要 (Previous) (Next) Page::addAction()next

Download Documentation Last updated: Sun, 21 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
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