DB_DataObject::factory() (Previous) (Next) DB_DataObject::staticGet()

View this page in Last updated: Sun, 01 Jul 2007
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

->get()

->get() --  Simple Get (Select) request

Leírás

Get a result using key, value. Returns Number of rows located (usually 1) for success, and puts all the table columns into this classes variables. If only one parameter is used, it is assumed that first parameter is a value and get() will use the primary key.

Paraméterek

  • mixed $key or $value - column (or value if only one parameter)

  • mixed $value - value

Visszatérési érték

int - Number of rows

Megjegyzés

Ez a függvény nem hívható statikusan.

You should avoid calling get on the same object instance twice, as this will result in unexpected results.

DB_DataObject::factory() (Previous) (Next) DB_DataObject::staticGet()

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