cvs: peardoc /en/package/database/db intro-fetch.xml
| From: | Daniel Convissor | Date: | Sat, 06 Mar 2004 05:17:15 +0000 |
| Subject: | cvs: peardoc /en/package/database/db intro-fetch.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-2881@lists.php.net to get a copy of this message | ||
danielc Sat Mar 6 00:17:15 2004 EDT
Modified files:
/peardoc/en/package/database/db intro-fetch.xml
Log:
Add id's to refsect2 level and clean up titles.
http://cvs.php.net/diff.php/peardoc/en/package/database/db/intro-fetch.xml?r1=1.17&r2=1.18&ty=u
Index: peardoc/en/package/database/db/intro-fetch.xml
diff -u peardoc/en/package/database/db/intro-fetch.xml:1.17
peardoc/en/package/database/db/intro-fetch.xml:1.18
--- peardoc/en/package/database/db/intro-fetch.xml:1.17 Sat Mar 6 00:08:26 2004
+++ peardoc/en/package/database/db/intro-fetch.xml Sat Mar 6 00:17:15 2004
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.17 $ -->
+<!-- $Revision: 1.18 $ -->
<refentry id="package.database.db.intro-fetch">
<refnamediv>
<refname>Introduction - Fetch & Get</refname>
@@ -6,8 +6,9 @@
</refnamediv>
<refsect1 id="package.database.db.intro-fetch.desc">
&title.desc;
- <refsect2>
- <title>Fetch functions</title>
+
+ <refsect2 id="package.database.db.intro-fetch.desc.overview">
+ <title>Overview of Fetch Functions</title>
<simpara>
The &class.db-result; object provides two
functions to fetch rows: <function>fetchRow</function> and
@@ -49,8 +50,9 @@
</programlisting>
</example>
</refsect2>
- <refsect2>
- <title>Select the format of the fetched row</title>
+
+ <refsect2 id="package.database.db.intro-fetch.desc.format">
+ <title>Choosing Formats for Fetched Rows</title>
<para>
The fetch modes supported are:
<itemizedlist>
@@ -206,8 +208,8 @@
</para>
</refsect2>
- <refsect2>
- <title>Set the format of the fetched row</title>
+ <refsect2 id="package.database.db.intro-fetch.desc.how">
+ <title>How to Set Formats</title>
<para>
You can set the fetch mode per result call or for your whole DB
instance.
@@ -245,9 +247,9 @@
</example>
</para>
</refsect2>
- <refsect2>
- <title>Fetch rows by number</title>
+ <refsect2 id="package.database.db.intro-fetch.desc.number">
+ <title>Fetch Rows by Number</title>
<para>
The PEAR DB fetch system also supports an extra parameter
to the fetch statement. So you can fetch rows from a result
@@ -283,8 +285,9 @@
</example>
</para>
</refsect2>
- <refsect2>
- <title>Freeing the result set</title>
+
+ <refsect2 id="package.database.db.intro-fetch.desc.free">
+ <title>Freeing Result Sets</title>
<para>
It is recommended to finish the result set after processing in
order to save memory.
@@ -307,9 +310,9 @@
</example>
</para>
</refsect2>
- <refsect2>
- <title>Quick data retrieving</title>
+ <refsect2 id="package.database.db.intro-fetch.desc.quick">
+ <title>Quick Data Retrieving</title>
<para>
&class.db; provides some special ways to retrieve information
from a query without the need of using
@@ -417,9 +420,9 @@
on errors.
</para>
</refsect2>
- <refsect2>
- <title>Getting more information from query results</title>
+ <refsect2 id="package.database.db.intro-fetch.desc.more">
+ <title>Getting More Information From Query Results</title>
<para>
With &class.db; you have many ways to retrieve useful information
from query results. These are: