cvs: peardoc /en/package/structures/structures-datagrid example-extending.xml /en/package/structures/structures-datagrid/structures-datagrid
addrecord.xml
| From: | Andrew Nagy | Date: | Thu, 24 Mar 2005 20:22:26 +0000 |
| Subject: | cvs: peardoc /en/package/structures/structures-datagrid example-extending.xml /en/package/structures/structures-datagrid/structures-datagrid addrecord.xml |
||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-5731@lists.php.net to get a copy of this message | ||
asnagy Thu Mar 24 15:22:26 2005 EDT
Modified files:
/peardoc/en/package/structures/structures-datagrid
example-extending.xml
/peardoc/en/package/structures/structures-datagrid/structures-datagrid
addrecord.xml
Log:
Cleaned up page
http://cvs.php.net/diff.php/peardoc/en/package/structures/structures-datagrid/example-extending.xml?r1=1.5&r2=1.6&ty=u
Index: peardoc/en/package/structures/structures-datagrid/example-extending.xml
diff -u peardoc/en/package/structures/structures-datagrid/example-extending.xml:1.5
peardoc/en/package/structures/structures-datagrid/example-extending.xml:1.6
--- peardoc/en/package/structures/structures-datagrid/example-extending.xml:1.5 Thu Mar 24 13:57:52
2005
+++ peardoc/en/package/structures/structures-datagrid/example-extending.xml Thu Mar 24 15:22:26 2005
@@ -1,18 +1,17 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<refentry id="package.structures.structures-datagrid.example-extending">
<refnamediv>
<refname>Example - Extending the DataGrid</refname>
<refpurpose>
This example shows you how to extend the DataGrid class to customize it
- for you application's needs.
+ for your application's needs.
</refpurpose>
</refnamediv>
<refsect1 id="package.structures.structures-datagrid.example-extending.desc">
&title.desc
- <title>Extending the class</title>
<para>
Commonly you will want to use the DataGrid throught your application with
the same look-and-feel and features. You may also want to extend upon the
http://cvs.php.net/diff.php/peardoc/en/package/structures/structures-datagrid/structures-datagrid/addrecord.xml?r1=1.4&r2=1.5&ty=u
Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/addrecord.xml
diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/addrecord.xml:1.4
peardoc/en/package/structures/structures-datagrid/structures-datagrid/addrecord.xml:1.5
--- peardoc/en/package/structures/structures-datagrid/structures-datagrid/addrecord.xml:1.4 Thu Mar
24 10:48:52 2005
+++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/addrecord.xml Thu Mar 24
15:22:26 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<refentry
id="package.structures.structures_datagrid.structures_datagrid.addrecord">
<refnamediv>
@@ -25,8 +25,8 @@
This method is used to add a Structures_DataGrid_Record object to the
DataGrid's Record Set. This is not the only method of getting data into
the DataGrid. Commonly, the
- <link
linkend="package.structures.structures_datagrid.structures_datagrid.bind"><function>Bind()</function></link>
- method is used, unleass you need to add individual records to the DataGrid.
+ <link
linkend="package.structures.structures_datagrid.structures_datagrid.bind"><function>bind</function></link>
+ method is used, unless you need to add individual records to the DataGrid.
The Structures_DataGrid_Record object accepts an array of values. This
method works best for looping through a result set from a database query
or a XML or CSV data file.
@@ -63,6 +63,13 @@
</para>
</refsect1>
+ <refsect1
id="package.structures.structures_datagrid.structures_datagrid.addrecord.note">
+ &title.note;
+ The Structures_DataGrid package also includes 2 other Record classes. There
+ is a class for both the PEAR::DB_Result and a PEAR::DB_DataObject classes to
+ allow for easily adding individual records from these unique results.
+ </refsect1>
+
</refentry>
<!-- Keep this comment at the end of the file