コンストラクタ HTML_QuickForm_hierselect()

コンストラクタ HTML_QuickForm_hierselect() – クラスのコンストラクタ

Synopsis

require_once 'HTML/QuickForm/hierselect.php';

void constructor HTML_QuickForm_hierselect::HTML_QuickForm_hierselect ( string $elementName = = null , string $elementLabel = = null , mixed $attributes = = null , mixed $separator = = null )

Description

This package is not documented yet.

Parameter

string $elementName

(オプション) Input フィールドの name 属性。

ひとつのページに複数のフォームを表示する場合は、 それぞれの hierselect には別の名前をつけなければなりません。 そうしないと、同名の hierselect が複数存在した場合に 最後に登場した hierselect の値がそれまでの値を上書きしてしまいます。 現在の QuickForm の仕組みではこの問題をきれいに解決することは非常に困難です。 そのため、別の名前にするという回避策を使用するようにしてください。 詳細は Request #5718 を参照ください。
string $elementLabel

(オプション) フォーム内の input フィールドのラベル。

mixed $attributes

(オプション) 典型的な HTML 属性の文字列あるいは連想配列。

mixed $separator

グループ化された要素を区切る文字列。

Throws

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

Note

This function can not be called statically.