->setFrom() (Previous) (Next) ->validate()

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

->toArray()

->toArray() -- 現在の結果を配列で取得する

説明

HTML_QuickForm などの他のパッケージで 使用するために連想配列として取得することができます (オプションでキーをフォーマットできる)。

PHP4.2.3RC2 以降、各カラムの値は getXXX() メソッドで処理されますので、 get系メソッドを定義することで行のフォーマットを変更することができます。

パラメータ

  • string $format - sprintf 形式の文字列を指定します。例)'form[%s]'

  • bool $hideEmpty - true にすると、空 (値がない、あるいは値が null) の要素は返しません。

注意

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

->setFrom() (Previous) (Next) ->validate()

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.