HTML_QuickForm::exportValue() (Previous) (Next) HTML_QuickForm::getElementValue()

View this page in Last updated: Sun, 31 Aug 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

HTML_QuickForm::exportValues()

HTML_QuickForm::exportValues() -- 要素の "安全な" 値を返す

説明

フォーム要素の値を返します。まず最初に フィルタリングされた 送信値を探し、見つからなかった場合には setDefaults() あるいは setConstants() で設定された値を返します。

getSubmitValues() とは異なり、この関数は フォームに追加された 要素に対応する値で実際に送信されたもののみを返します。 'はい'/'いいえ' を選択するラジオボタンがあった場合、'たぶん' は有効な送信値とはみなされません。また、このメソッドでは file 要素の値を取得することもできません。

パラメータ

mixed $elementList

値を取得したい要素の名前を表す配列あるいは文字列。 設定しなかった場合は、すべての要素を返します。

返り値

要素の値の連想配列を返します。

注意

since 3.1

この関数は、スタティックにコールする ことはできません。

HTML_QuickForm::exportValue() (Previous) (Next) HTML_QuickForm::getElementValue()

Download Documentation Last updated: Sun, 31 Aug 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.