cvs: peardoc /en/package/structures/structures-datagrid/structures-datagrid sortrecordset.xml
| From: | Mark Wiesemann | Date: | Wed, 11 Jan 2006 11:21:06 +0000 |
| Subject: | cvs: peardoc /en/package/structures/structures-datagrid/structures-datagrid sortrecordset.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-7443@lists.php.net to get a copy of this message | ||
wiesemann Wed Jan 11 11:21:06 2006 UTC
Modified files:
/peardoc/en/package/structures/structures-datagrid/structures-datagrid
sortrecordset.xml
Log:
Bug #6450: added a note that explains when one has to call sortRecordSet()
http://cvs.php.net/viewcvs.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/sortrecordset.xml?r1=1.2&r2=1.3&diff_format=u
Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/sortrecordset.xml
diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/sortrecordset.xml:1.2
peardoc/en/package/structures/structures-datagrid/structures-datagrid/sortrecordset.xml:1.3
--- peardoc/en/package/structures/structures-datagrid/structures-datagrid/sortrecordset.xml:1.2 Fri
Jan 28 15:31:08 2005
+++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/sortrecordset.xml Wed Jan
11 11:21:06 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry
id="package.structures.structures_datagrid.structures_datagrid.sortrecordset">
<refnamediv>
@@ -61,6 +61,20 @@
</para>
</refsect1>
+ <refsect1
id="package.structures.structures_datagrid.structures_datagrid.sortrecordset.note">
+ &title.note;
+ <para>
+ For the DataSource drivers Array, CSV, RSS and XML
+ <function>sortRecordSet</function> needs to be called
+ <emphasis>after</emphasis> <function>bind</function>.
+ </para>
+ <para>
+ For all other DataSource drivers like DataObject, DB, DBQuery, DBTable
+ <function>sortRecordSet</function> needs to be called after
+ <emphasis>before</emphasis> <function>bind</function>.
+ </para>
+ </refsect1>
+
<refsect1
id="package.structures.structures_datagrid.structures_datagrid.sortrecordset.example">
&title.example;
<example>