Scriptindex.de

[ Menü ]

Home
News
Scripts
Neuzugänge
Suchen
Bücher
Manuals

[ Inhalt ]

Script eintragen
Tutorial eintragen
Newsletter
Umfragen
Link zu uns
Werbung bei uns
Kontakt
Impressum

[ Statistik ]

Hits gesamt: 5199626
Hits Heute: 323
max. Hits (10.07.07): 6964
User Online: 39
Scripts: 2828

[ Partner ]

CodeBase
I.S.U.M.
LUG Bayreuth
PEAR NEWS
PHP Classes

[ Facebook ]

[ Eigene Domain? ]

[ Buchtipp ]

Perl und XML.
Perl und XML.

Manuals > PEAR > DB_Common::setFetchMode()

DB_Common::setFetchMode()

DB_Common::setFetchMode() -- sets the default fetch mode

Description

Sets the fetch mode used by default on queries for the connection.

Parameter

integer $fetchmode

DB_FETCHMODE_ORDERED, DB_FETCHMODE_OBJECT or DB_FETCHMODE_ASSOC, all possibly bit-wise OR'ed with DB_FETCHMODE_FLIPPED. See "Introduction - Fetch" for further information.

string $object_class

The name of the class to use, if the DB_FETCHMODE_OBJECT mode is selected. If no class is specified by default a cast to object from the assoc array row will be done. There is also the posibility to use and extend the DB_Row class.

Return value

void - NULL, if ok(!)

Note

This function can not be called statically.


Copyright 1998 - 2009 by I.S.U.M.