DB_common::rollback() (Previous) (Next) DB_common::setOption()

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

DB_common::setFetchMode()

DB_common::setFetchMode() -- Sets the default fetch mode

Leírás

Sets the default fetch mode used by fetch*() and get*() methods.

Paraméterek

integer $fetchmode

DB_FETCHMODE_ORDERED, DB_FETCHMODE_ASSOC or DB_FETCHMODE_OBJECT.

See the Examples section, below, for more information.

string $object_class

This parameter is for use when $fetchmode is set to DB_FETCHMODE_OBJECT.

You can set this parameter to DB_row, which then causes the resulting data to populate a new instance of a DB_row object.

Visszatérési érték

void - nothing is returned on success or a DB_Error object on failure

Megjegyzés

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

Példa

DB_common::rollback() (Previous) (Next) DB_common::setOption()

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.