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

From: Date: Thu, 21 Oct 2004 21:10:23 +0000
Subject: cvs: peardoc /en/package/structures/structures-datagrid/structures-datagrid bind.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-5024@lists.php.net to get a copy of this message
asnagy Thu Oct 21 17:10:23 2004 EDT Modified files: /peardoc/en/package/structures/structures-datagrid/structures-datagrid bind.xml Log: UPdated content http://cvs.php.net/diff.php/peardoc/en/package/structures/structures-datagrid/structures-datagrid/bind.xml?r1=1.2&r2=1.3&ty=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/bind.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/bind.xml:1.2 peardoc/en/package/structures/structures-datagrid/structures-datagrid/bind.xml:1.3 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/bind.xml:1.2 Wed Sep 29 11:08:25 2004 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/bind.xml Thu Oct 21 17:10:22 2004 @@ -1,17 +1,17 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <refentry id="package.structures.structures_datagrid.structures_datagrid.bind"> <refnamediv> <refname>Structures_DataGrid::bind()</refname> - <refpurpose>Binds a 2 dimension array to the DataGrid</refpurpose> + <refpurpose>Binds a data type that is supported by a DataSource Driver to the DataGrid</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>bind</function></funcdef> <paramdef> - array <parameter>$rs</parameter> + mixed <parameter>$rs</parameter> </paramdef> </funcprototype> </funcsynopsis> @@ -20,8 +20,13 @@ <refsect1 id="package.structures.structures_datagrid.structures_datagrid.bind.desc"> &title.desc; <para> - Binds a 2 dimension array to the DataGrid using the array keys as the header - and the array values as the data. + This method allows you to bind your data set to the DataGrid. You can bind + any data type that is supported with a DataSource driver. If you have a + data type that is not supported, you can easily create your own driver by + mimicing the parent class or one of the existing drivers or post a message + to the mailing lists to see if someone can help you with it. If you write + your own, please post it back to the community for anyone else who might be + interested in using it. </para> </refsect1> @@ -36,7 +41,7 @@ </term> <listitem> <para> - The 2 dimension array to be rendered in the DataGrid + The record set in any of the supported data source types </para> </listitem> </varlistentry>

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