cvs: peardoc /en/package/structures structures-datagrid.xml /en/package/structures/structures-datagrid datasources.xml

From: Date: Thu, 31 Mar 2005 20:57:24 +0000
Subject: cvs: peardoc /en/package/structures structures-datagrid.xml /en/package/structures/structures-datagrid datasources.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-5840@lists.php.net to get a copy of this message
asnagy Thu Mar 31 15:57:24 2005 EDT Added files: /peardoc/en/package/structures/structures-datagrid datasources.xml Modified files: /peardoc/en/package/structures structures-datagrid.xml Log: http://cvs.php.net/diff.php/peardoc/en/package/structures/structures-datagrid.xml?r1=1.20&r2=1.21&ty=u Index: peardoc/en/package/structures/structures-datagrid.xml diff -u peardoc/en/package/structures/structures-datagrid.xml:1.20 peardoc/en/package/structures/structures-datagrid.xml:1.21 --- peardoc/en/package/structures/structures-datagrid.xml:1.20 Thu Mar 24 10:51:15 2005 +++ peardoc/en/package/structures/structures-datagrid.xml Thu Mar 31 15:57:23 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.20 $ --> +<!-- $Revision: 1.21 $ --> <sect1 id="package.structures.structures-datagrid"> <title>Structures_DataGrid</title> @@ -19,6 +19,7 @@ <!-- High Level Documentation --> &package.structures.structures-datagrid.intro; + &package.structures.structures-datagrid.datasources; &package.structures.structures-datagrid.constants; &package.structures.structures-datagrid.example-simple; &package.structures.structures-datagrid.example-advanced; http://cvs.php.net/co.php/peardoc/en/package/structures/structures-datagrid/datasources.xml?r=1.1&p=1 Index: peardoc/en/package/structures/structures-datagrid/datasources.xml +++ peardoc/en/package/structures/structures-datagrid/datasources.xml <?xml version="1.0" encoding="iso-8859-1" ?> <!-- $Revision: 1.1 $ --> <refentry id="package.structures.structures-datagrid.datasources"> <refnamediv> <refname>Available Data Sources Drivers</refname> <refpurpose>What is a Data Source Driver?</refpurpose> </refnamediv> <refsect1> <title>Description</title> <para> A Data Source is rather self explainitory by it's name alone; however, a Data Source Driver in context to the DataGrid can become a very essential key to your software. A Data Source Driver will interact with your data source directly, such as a DB_DataObject or DB_Result object and handle all of the paging and sorting code for you, resulting in very few lines of code that you will need to write. </para> </refsect1> <refsect1> <title>How to use the drivers</title> <para> To use the drivers, you can simply use the bind method, assuming your data source is listed below, otherwise you can use the bindDataSource method. The bind method will attempt to detect the datasource type and may not be 100% accurate. Because of this chance for error, you may choose to use the bindDataSource method where you can specifically define the datasource driver to use. This method is also the method of choice if you are building your own custom Data Source Driver. </para> </refsect1> <refsect1> <title>Currently Available Data Source Drivers</title> <para>PEAR::DB_DataObject Object</para> <para>PEAR::DB_Result Object</para> <para>XML File</para> <para>CSV File</para> <para>RSS File</para> <para>Array</para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->

« previous php.pear.doc (#5840) next »