cvs: peardoc /en/package/structures/structures-datagrid intro.xml
| From: | Andrew Nagy | Date: | Tue, 28 Sep 2004 21:16:12 +0000 |
| Subject: | cvs: peardoc /en/package/structures/structures-datagrid intro.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-4892@lists.php.net to get a copy of this message | ||
asnagy Tue Sep 28 17:16:12 2004 EDT
Modified files:
/peardoc/en/package/structures/structures-datagrid intro.xml
Log:
latest updates
http://cvs.php.net/diff.php/peardoc/en/package/structures/structures-datagrid/intro.xml?r1=1.3&r2=1.4&ty=u
Index: peardoc/en/package/structures/structures-datagrid/intro.xml
diff -u peardoc/en/package/structures/structures-datagrid/intro.xml:1.3
peardoc/en/package/structures/structures-datagrid/intro.xml:1.4
--- peardoc/en/package/structures/structures-datagrid/intro.xml:1.3 Tue Sep 28 13:46:13 2004
+++ peardoc/en/package/structures/structures-datagrid/intro.xml Tue Sep 28 17:16:11 2004
@@ -1,11 +1,37 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<refentry id="package.structures.structures-datagrid.intro">
<refnamediv>
<refname>Introduction</refname>
<refpurpose>What can I do with Structures_DataGrid?</refpurpose>
</refnamediv>
<refsect1>
+ <title>Description</title>
+ <para>
+ <classname>Structures_DataGrid</classname> is a package with the purpose
+ of rendering input data in a table for a specific output format. Possible
+ output formats are (X)<acronym>HTML</acronym>, <acronym>XML</acronym>
or
+ Excel <filename>.xls</filename> files.
+ </para>
+ <para>
+ The input data format is independent of the underlying data storage layer:
+ It does not matter if the data has been selected from a database, has been
+ harvested from plain text files or converted from a web service call. The
+ data can be sorted and paged, and each cell of the table can have a custom
+ look by using <acronym>CSS</acronym>.
+ </para>
+ <note>
+ <title>Example data</title>
+ <para>
+ Some examples in the following sections use data from the
+ <literal>world</literal> database, available on the
+ <ulink url="&url.mysql.world.download;">MySQL homepage</ulink>.
+ (<ulink url="&url.mysql.world.setup">Setup Instructions for
+ MySQL</ulink>; should work similar for other database systems.)
+ </para>
+ </note>
+ </refsect1>
+ <refsect2>
<title>Where to start</title>
<para>
The purpose behind SDG is to render a tabular structure of data.
@@ -19,8 +45,8 @@
The third way is to loop through your record set and add each record
individually, this practice the least efficient.
</para>
- </refsect1>
- <refsect2>
+ </refsect2>
+ <refsect3>
<title>Render the output</title>
<para>
Once your datagrid has been populated with your records, you have many
@@ -29,7 +55,7 @@
format the data should be rendered into. You can render the datagrid in
HTML, XML, XUL or an Excel Spreadsheet.
</para>
- </refsect2>
+ </refsect3>
</refentry>
<!-- Keep this comment at the end of the file