new HTML_Template_Flexy_Element (Previous) (Next) $element->setOptions()

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

$element->setValue()

$element->setValue() -- 一般的なタグ型から値を取得したり保存したりするためのユーティリティ関数

説明

これは、フォーム要素の値を設定するために使用します。 結果は、要素の型に依存します。

  • text、password、ボタン は、value 属性を設定します。

  • チェックボックス / ラジオボタン は、マッチする要素をチェック状態にします。

  • textarea は、テキストエリアの内容を設定します。

  • チェックボックスの配列 は、マッチする要素をチェック状態にします。

  • select はマッチする要素を選択します。

パラメータ

  • $value フォーム要素に代入する値 (複数選択可能な select や checkbox のグループには、配列を使用します)。

例外・エラー

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

注意

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

new HTML_Template_Flexy_Element (Previous) (Next) $element->setOptions()

Download Documentation Last updated: Sun, 05 Oct 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.