cvs: peardoc /en/package/database/db/db-common setfetchmode.xml

From: Date: Fri, 16 Apr 2004 01:10:48 +0000
Subject: cvs: peardoc /en/package/database/db/db-common setfetchmode.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-3519@lists.php.net to get a copy of this message
danielc Thu Apr 15 21:10:48 2004 EDT Modified files: /peardoc/en/package/database/db/db-common setfetchmode.xml Log: Refine parameter descriptions. http://cvs.php.net/diff.php/peardoc/en/package/database/db/db-common/setfetchmode.xml?r1=1.20&r2=1.21&ty=u Index: peardoc/en/package/database/db/db-common/setfetchmode.xml diff -u peardoc/en/package/database/db/db-common/setfetchmode.xml:1.20 peardoc/en/package/database/db/db-common/setfetchmode.xml:1.21 --- peardoc/en/package/database/db/db-common/setfetchmode.xml:1.20 Thu Apr 15 20:48:27 2004 +++ peardoc/en/package/database/db/db-common/setfetchmode.xml Thu Apr 15 21:10:47 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.20 $ --> +<!-- $Revision: 1.21 $ --> <refentry id="package.database.db.db-common.setfetchmode"> <refnamediv> @@ -41,12 +41,13 @@ <listitem> <para> <constant>DB_FETCHMODE_ORDERED</constant>, - <constant>DB_FETCHMODE_OBJECT</constant> or - <constant>DB_FETCHMODE_ASSOC</constant>, + <constant>DB_FETCHMODE_ASSOC</constant> or + <constant>DB_FETCHMODE_OBJECT</constant> -- all possibly bit-wise OR'ed with - <constant>DB_FETCHMODE_FLIPPED</constant>. See - <link linkend="package.database.db.intro-fetch"> - <quote>Introduction - Fetch</quote></link> for further information. + <constant>DB_FETCHMODE_FLIPPED</constant> by using + <literal>|</literal>. See the + <link linkend="package.database.db.db-common.setfetchmode.example"> + Examples section</link>, below, for more information. </para> </listitem> </varlistentry> @@ -57,13 +58,14 @@ </term> <listitem> <para> - The name of the class to use, if - the <constant>DB_FETCHMODE_OBJECT</constant> - 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 possibility to use and extend the - &class.db-row; class. + This parameter is for use when + <parameter>$fetchmode</parameter> is set to + <constant>DB_FETCHMODE_OBJECT</constant>. + </para> + <para> + You can set this parameter to <literal>DB_row</literal>, + which then causes the resulting data to populate a + new instance of a &class.db-row; object. </para> </listitem> </varlistentry>

« previous php.pear.doc (#3519) next »