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.