cvs: peardoc /en/package/database/db/db-result fetchinto.xml fetchrow.xml
| From: | Daniel Convissor | Date: | Fri, 16 Apr 2004 22:37:57 +0000 |
| Subject: | cvs: peardoc /en/package/database/db/db-result fetchinto.xml fetchrow.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-3577@lists.php.net to get a copy of this message | ||
danielc Fri Apr 16 18:37:57 2004 EDT
Modified files:
/peardoc/en/package/database/db/db-result fetchinto.xml
fetchrow.xml
Log:
Fix returns.
http://cvs.php.net/diff.php/peardoc/en/package/database/db/db-result/fetchinto.xml?r1=1.23&r2=1.24&ty=u
Index: peardoc/en/package/database/db/db-result/fetchinto.xml
diff -u peardoc/en/package/database/db/db-result/fetchinto.xml:1.23
peardoc/en/package/database/db/db-result/fetchinto.xml:1.24
--- peardoc/en/package/database/db/db-result/fetchinto.xml:1.23 Fri Apr 16 18:30:27 2004
+++ peardoc/en/package/database/db/db-result/fetchinto.xml Fri Apr 16 18:37:57 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.23 $ -->
+<!-- $Revision: 1.24 $ -->
<refentry id="package.database.db.db-result.fetchinto">
<refnamediv>
@@ -107,8 +107,9 @@
<refsect1 id="package.database.db.db-result.fetchinto.return">
&title.returns;
<para>
- &type.array; - an array containing the requested data.
- &null; is returned when the end of the result set is reached.
+ &type.int; - &constant.db-ok; if a row is processed,
+ &null; when the end of the result set is reached
+ or a &class.db-error; object on failure
</para>
</refsect1>
http://cvs.php.net/diff.php/peardoc/en/package/database/db/db-result/fetchrow.xml?r1=1.24&r2=1.25&ty=u
Index: peardoc/en/package/database/db/db-result/fetchrow.xml
diff -u peardoc/en/package/database/db/db-result/fetchrow.xml:1.24
peardoc/en/package/database/db/db-result/fetchrow.xml:1.25
--- peardoc/en/package/database/db/db-result/fetchrow.xml:1.24 Fri Apr 16 18:30:27 2004
+++ peardoc/en/package/database/db/db-result/fetchrow.xml Fri Apr 16 18:37:57 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.24 $ -->
+<!-- $Revision: 1.25 $ -->
<refentry id="package.database.db.db-result.fetchrow">
<refnamediv>
@@ -10,7 +10,7 @@
<refsynopsisdiv>
<funcsynopsis>
<funcprototype>
- <funcdef>array <function>&fetchRow</function></funcdef>
+ <funcdef>mixed <function>&fetchRow</function></funcdef>
<paramdef>
integer <parameter><optional>$fetchmode =
<constant>DB_DEFAULT_MODE</constant></optional></parameter>
@@ -91,8 +91,9 @@
<refsect1 id="package.database.db.db-result.fetchrow.return">
&title.returns;
<para>
- &type.array; - an array containing the requested data.
- &null; is returned when the end of the result set is reached.
+ &type.mixed; - an array or object containing the row's data,
+ &null; when the end of the result set is reached
+ or a &class.db-error; object on failure
</para>
</refsect1>