PEAR Handbuch | ||
---|---|---|
Zurück | Nach vorne |
Parameter
$fetchmode - DB_FETCHMODE_ORDERED, DB_FETCHMODE_OBJECT or DB_FETCHMODE_ASSOC, possibly bit-wise OR'ed with DB_FETCHMODE_FLIPPED. See "Fetch"-section for further information.
$object_class - The class of the object to be returned by the fetch methods when 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.
Returns
mixed - Nothing or a PEAR_ERROR, if $fetchmode contains a unknown value.
Zurück | Zum Anfang | Nach vorne |
DB::provides() | Nach oben | DB::prepare() |