HTML_QuickForm_element::exportValue()
HTML_QuickForm_element::exportValue() -- Returns a 'safe' element's value (パッケージ開発者用)
概要
require_once 'HTML/QuickForm/element.php'; |
mixed HTML_QuickForm_element::exportValue (array &$submitValues [, bool $assoc = FALSE])
説明
This method is not intended to be called directly. It is called by
HTML_QuickForm::exportValue() and
HTML_QuickForm::exportValues() methods.
The method first tries to find a value for itself in a passed array, if such a value is not found it takes the display value via getValue(). It then filters out the values that cannot possibly be submitted by this element and returns the result.
パラメータ
- array
&$submitValues
array of submitted values to search
- boolean
$assoc
whether to return the value as associative array
例外・エラー
throws no exceptions thrown
注意
この関数は、スタティックにコールする
ことはできません。