DB_DataObject::staticGet() (Previous) (Next) ->find()

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

{Child Class}::staticGet()

{Child Class}::staticGet() -- 単純な取得 (Select) リクエストで、簡潔にされたもの (自動生成)

説明

この静的メソッドは、get リクエストと似ていますが、 クラスのインスタンス化は必要ありません。 staticGet() はオプションで結果のキャッシュも行います (設定の項目を参照してください) 。

注意: これは、主キーが単一カラムで構成されるテーブルでのみ使用可能です。

パラメータ

  • string $key - カラムあるいは1つのパラメータのみが与えられる場合は値を指定します。

  • mixed $value - 値を指定します。

返り値

object mixed - FALSE あるいはオブジェクト

注意

このメソッドは静的にコールされなければなりません。

DB_DataObject::staticGet() (Previous) (Next) ->find()

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.