cvs: peardoc /en/package/html/pager intro.xml
| From: | Lorenzo Alberton | Date: | Tue, 27 Sep 2005 09:13:07 +0000 |
| Subject: | cvs: peardoc /en/package/html/pager intro.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-6925@lists.php.net to get a copy of this message | ||
quipo Tue Sep 27 05:13:07 2005 EDT
Modified files:
/peardoc/en/package/html/pager intro.xml
Log:
add a note about Pager_Wrapper_*
http://cvs.php.net/diff.php/peardoc/en/package/html/pager/intro.xml?r1=1.11&r2=1.12&ty=u
Index: peardoc/en/package/html/pager/intro.xml
diff -u peardoc/en/package/html/pager/intro.xml:1.11 peardoc/en/package/html/pager/intro.xml:1.12
--- peardoc/en/package/html/pager/intro.xml:1.11 Sun Feb 13 03:37:57 2005
+++ peardoc/en/package/html/pager/intro.xml Tue Sep 27 05:13:05 2005
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.11 $ -->
+<!-- $Revision: 1.12 $ -->
<refentry id="package.html.pager.intro">
<refnamediv>
<refname>Introduction</refname>
@@ -139,6 +139,18 @@
</programlisting>
</para>
</refsect1>
+
+ <refsect1 id="package.html.pager.intro.db">
+ <title>Pager and big db resultsets</title>
+ <para>
+ If you want to paginate db resultsets, fetching them all into an
+ array and passing it to <classname>Pager</classname> might not be the
+ best option. You can still leverage <classname>Pager</classname> and
+ have good performances using a wrapper. There is a sample wrapper for
+ each one of the PEAR db abstraction systems in the /docs/examples/ dir
+ of the package. You may use it as-is or customize it to your needs.
+ </para>
+ </refsect1>
<refsect1 id="package.html.pager.intro.extravars">
<title>Adding extra variables to the querystring</title>