cvs: peardoc /en/package/structures/structures-datagrid custom-datasources.xml datasources.xml example-simple.xml
/en/package/structures/structures-datagrid/structures-datagrid addcolumn.xml

From: Date: Wed, 28 Jun 2006 20:48:30 +0000
Subject: cvs: peardoc /en/package/structures/structures-datagrid custom-datasources.xml datasources.xml example-simple.xml
/en/package/structures/structures-datagrid/structures-datagrid addcolumn.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-8076@lists.php.net to get a copy of this message
takagi Wed Jun 28 20:48:30 2006 UTC Modified files: /peardoc/en/package/structures/structures-datagrid custom-datasources.xml datasources.xml example-simple.xml /peardoc/en/package/structures/structures-datagrid/structures-datagrid addcolumn.xml Log: fixed missing-id warnings. http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/custom-datasources.xml?r1=1.5&r2=1.6&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/custom-datasources.xml diff -u peardoc/en/package/structures/structures-datagrid/custom-datasources.xml:1.5 peardoc/en/package/structures/structures-datagrid/custom-datasources.xml:1.6 --- peardoc/en/package/structures/structures-datagrid/custom-datasources.xml:1.5 Tue May 2 18:30:47 2006 +++ peardoc/en/package/structures/structures-datagrid/custom-datasources.xml Wed Jun 28 20:48:29 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <refentry id="package.structures.structures-datagrid.custom-datasources"> <refnamediv> @@ -261,7 +261,7 @@ <para>For this purpose we're going to use the <link - linkend="package.structures.structures_datagrid.structures_datagrid.bindDataSource"><function>bindDataSource</function></link> + linkend="package.structures.structures-datagrid.structures-datagrid.binddatasource"><function>bindDataSource</function></link> method.</para> <example> <title>Binding a custom datasource</title> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/datasources.xml?r1=1.4&r2=1.5&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/datasources.xml diff -u peardoc/en/package/structures/structures-datagrid/datasources.xml:1.4 peardoc/en/package/structures/structures-datagrid/datasources.xml:1.5 --- peardoc/en/package/structures/structures-datagrid/datasources.xml:1.4 Sun May 29 19:12:01 2005 +++ peardoc/en/package/structures/structures-datagrid/datasources.xml Wed Jun 28 20:48:29 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <refentry id="package.structures.structures-datagrid.datasources"> <refnamediv> <refname>Data Sources</refname> @@ -23,7 +23,7 @@ data source is listed below, otherwise you can use the <function>bindDataSource</function> method. The - <link linkend="package.structures.structures_datagrid.structures_datagrid.bind"><function>bind</function></link> + <link linkend="package.structures.structures-datagrid.structures-datagrid.bind"><function>bind</function></link> 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 http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/example-simple.xml?r1=1.14&r2=1.15&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/example-simple.xml diff -u peardoc/en/package/structures/structures-datagrid/example-simple.xml:1.14 peardoc/en/package/structures/structures-datagrid/example-simple.xml:1.15 --- peardoc/en/package/structures/structures-datagrid/example-simple.xml:1.14 Tue May 2 21:04:24 2006 +++ peardoc/en/package/structures/structures-datagrid/example-simple.xml Wed Jun 28 20:48:29 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.14 $ --> +<!-- $Revision: 1.15 $ --> <refentry id="package.structures.structures-datagrid.example-simple"> <refnamediv> @@ -16,7 +16,7 @@ <para> To retrieve the data that the datagrid will display you can begin by passing a simple SQL statement to the - <link linkend="package.structures.structures_datagrid.structures_datagrid.bind"> + <link linkend="package.structures.structures-datagrid.structures-datagrid.bind"> <function>bind</function> </link> method. </para> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/addcolumn.xml?r1=1.4&r2=1.5&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/addcolumn.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/addcolumn.xml:1.4 peardoc/en/package/structures/structures-datagrid/structures-datagrid/addcolumn.xml:1.5 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/addcolumn.xml:1.4 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/addcolumn.xml Wed Jun 28 20:48:30 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.addcolumn"> <refnamediv> <refname><function>Structures_DataGrid::addColumn</function></refname> @@ -111,7 +111,7 @@ <title>Examples</title> <para><example><title>Adding a simple column</title><programlisting role="php-highlighted">1 &lt;?php 2 $datagrid =&amp; new <link linkend="package.structures.structures-datagrid.structures-datagrid.structures-datagrid">Structures_DataGrid</link>(); -3 $column = new <link linkend="package.structures.structures-datagrid.structures-datagrid-column-summary">Structures_DataGrid_Column</link>(&apos;Title&apos;, &apos;title&apos;, &apos;title&apos;, array(&apos;align&apos; =&gt; &apos;center&apos;), &apos;N/A&apos;, null); +3 $column = new <link linkend="package.structures.structures-datagrid.structures-datagrid-column.structures-datagrid-column">Structures_DataGrid_Column</link>(&apos;Title&apos;, &apos;title&apos;, &apos;title&apos;, array(&apos;align&apos; =&gt; &apos;center&apos;), &apos;N/A&apos;, null); 4 $datagrid-&gt;<link linkend="package.structures.structures-datagrid.structures-datagrid.addcolumn">addColumn</link>($column); 5 ?&gt; </programlisting>

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