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

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

{Child Class}::staticGet()

{Child Class}::staticGet() -- Simple Get (Select) request, abbreviated (autogenerated)

Beschreibung

The static method is similar to the get request, however it does not require the initial instantiation of the class. staticGet() can optionally cache the results. (see the configuration section)

Note: This can only be used for tables with a single column primary key.

Parameter

  • string $key - column or value if only one parameter is given

  • mixed $value - value

Rückgabewert

object mixed - FALSE or the object

Hinweise

This method must be called statically.

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

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