cvs: peardoc /en/package/structures structures-datagrid.xml /en/package/structures/structures-datagrid installation.xml rendering.xml
/en/package/structures/structures-datagrid/structures-datagrid addcolumn.xml attachrenderer.xml bind.xml binddatasource.xml build.xml dump.xml
fill.xml getcolumnbyfield.xml getcolumnbyname.xml getcolumncount.xml getcurrentpage.xml getcurrentrecordnumberend.xml getcurrentrecordnumberstart.xml
getoutput.xml getpagecount.xml getrecordcount.xml getrenderer.xml render.xml setcurrentpage.xml setdatasourceoption.xml setdatasourceoptions.xml
setdefaultsort.xml setrenderer.xml setrendereroption.xml setrendereroptions.xml setrequestprefix.xml sortrecordset.xml structures-datagrid.xml
/en/package/structures/structures-datagrid/structures-datagrid-column setautofillvalue.xml setformatter.xml structures-datagrid-column.xml
| From: | Olivier Guilyardi | Date: | Wed, 28 Jun 2006 22:06:39 +0000 |
| Subject: | cvs: peardoc /en/package/structures structures-datagrid.xml /en/package/structures/structures-datagrid installation.xml rendering.xml /en/package/structures/structures-datagrid/structures-datagrid addcolumn.xml attachrenderer.xml bind.xml binddatasource.xml build.xml dump.xml fill.xml getcolumnbyfield.xml getcolumnbyname.xml getcolumncount.xml getcurrentpage.xml getcurrentrecordnumberend.xml getcurrentrecordnumberstart.xml getoutput.xml getpagecount.xml getrecordcount.xml getrenderer.xml render.xml setcurrentpage.xml setdatasourceoption.xml setdatasourceoptions.xml setdefaultsort.xml setrenderer.xml setrendereroption.xml setrendereroptions.xml setrequestprefix.xml sortrecordset.xml structures-datagrid.xml /en/package/structures/structures-datagrid/structures-datagrid-column setautofillvalue.xml setformatter.xml structures-datagrid-column.xml |
||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-8078@lists.php.net to get a copy of this message | ||
olivierg Wed Jun 28 22:06:39 2006 UTC
Added files:
/peardoc/en/package/structures/structures-datagrid installation.xml
Modified files:
/peardoc/en/package/structures structures-datagrid.xml
/peardoc/en/package/structures/structures-datagrid rendering.xml
/peardoc/en/package/structures/structures-datagrid/structures-datagrid
addcolumn.xml
attachrenderer.xml
bind.xml
binddatasource.xml
build.xml
dump.xml
fill.xml
getcolumnbyfield.xml
getcolumnbyname.xml
getcolumncount.xml
getcurrentpage.xml
getcurrentrecordnumberend.xml
getcurrentrecordnumberstart.xml
getoutput.xml
getpagecount.xml
getrecordcount.xml
getrenderer.xml
render.xml
setcurrentpage.xml
setdatasourceoption.xml
setdatasourceoptions.xml
setdefaultsort.xml
setrenderer.xml
setrendereroption.xml
setrendereroptions.xml
setrequestprefix.xml
sortrecordset.xml
structures-datagrid.xml
/peardoc/en/package/structures/structures-datagrid/structures-datagrid-column
setautofillvalue.xml
setformatter.xml
structures-datagrid-column.xml
Log:
added installation instructions and updated/corrected other docs
http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid.xml?r1=1.28&r2=1.29&diff_format=u Index: peardoc/en/package/structures/structures-datagrid.xml diff -u peardoc/en/package/structures/structures-datagrid.xml:1.28 peardoc/en/package/structures/structures-datagrid.xml:1.29 --- peardoc/en/package/structures/structures-datagrid.xml:1.28 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid.xml Wed Jun 28 22:06:39 2006 @@ -1,7 +1,19 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.28 $ --> +<!-- $Revision: 1.29 $ --> <sect1 id="package.structures.structures-datagrid"> <title>Structures_DataGrid</title> +<!-- + <para> + <author> + <firstname>Olivier</firstname> + <surname>Guilyardi</surname> + <affiliation> + <orgname>Samalyse</orgname> + </affiliation> + <email>olivier@samalyse.com</email> + </author> + </para> + --> <para> <classname>Structures_DataGrid</classname> is a class for building, @@ -23,6 +35,7 @@ <sect2 id="package.structures.structures-datagrid.intro-and-features"> <title>Introduction and Features</title> &package.structures.structures-datagrid.intro; + &package.structures.structures-datagrid.installation; &package.structures.structures-datagrid.constants; &package.structures.structures-datagrid.datasources; &package.structures.structures-datagrid.rendering; http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/rendering.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/rendering.xml diff -u peardoc/en/package/structures/structures-datagrid/rendering.xml:1.1 peardoc/en/package/structures/structures-datagrid/rendering.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/rendering.xml:1.1 Thu Apr 7 15:36:11 2005 +++ peardoc/en/package/structures/structures-datagrid/rendering.xml Wed Jun 28 22:06:39 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.rendering"> <refnamediv> <refname>Rendering the output</refname> @@ -15,12 +15,12 @@ </para> </refsect1> <refsect1> - <title>How do I change the formatter?</title> + <title>How do I change the renderer?</title> <para> - To use a different formatter other than the HTML Table, you can simply - change the formatter by either defining the formatter in the Constructor - method or by using the setFormatter method. The parameter for defining - the formatter is specified by one of the formatter constants. + To use a different renderer other than the HTML Table, you can simply + change the renderer by either defining the renderer in the Constructor + method or by using the setrenderer method. The parameter for defining + the renderer is specified by one of the renderer constants. </para> </refsect1> <refsect1> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/addcolumn.xml?r1=1.5&r2=1.6&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.5 peardoc/en/package/structures/structures-datagrid/structures-datagrid/addcolumn.xml:1.6 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/addcolumn.xml:1.5 Wed Jun 28 20:48:30 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/addcolumn.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,3 @@ -<!-- $Revision: 1.5 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.addcolumn"> <refnamediv> <refname><function>Structures_DataGrid::addColumn</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/attachrenderer.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/attachrenderer.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/attachrenderer.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/attachrenderer.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/attachrenderer.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/attachrenderer.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.attachrenderer"> <refnamediv> <refname><function>Structures_DataGrid::attachRenderer</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/bind.xml?r1=1.8&r2=1.9&diff_format=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.8 peardoc/en/package/structures/structures-datagrid/structures-datagrid/bind.xml:1.9 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/bind.xml:1.8 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/bind.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.bind"> <refnamediv> <refname><function>Structures_DataGrid::bind</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/binddatasource.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/binddatasource.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/binddatasource.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/binddatasource.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/binddatasource.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/binddatasource.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.binddatasource"> <refnamediv> <refname><function>Structures_DataGrid::bindDataSource</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/build.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/build.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/build.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/build.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/build.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/build.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.build"> <refnamediv> <refname><function>Structures_DataGrid::build</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/dump.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/dump.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/dump.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/dump.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/dump.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/dump.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.dump"> <refnamediv> <refname><function>Structures_DataGrid::dump</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/fill.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/fill.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/fill.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/fill.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/fill.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/fill.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.fill"> <refnamediv> <refname><function>Structures_DataGrid::fill</function></refname> @@ -109,10 +109,21 @@ <title>Examples</title> <para><example><title>Filling a Pager object</title><programlisting role="php-highlighted">1 <?php 2 -3 $pager =& Pager::factory(); -4 $datagrid-><link linkend="package.structures.structures-datagrid.structures-datagrid.fill">fill</link>($pager); -5 -6 ?> +3 require_once 'Pager/Pager.php'; +4 +5 // Create a Pager object with your own options +6 $pager =& Pager::factory($options); +7 +8 // fill() sets the $pager object up, according to your data and settings +9 $datagrid-><link linkend="package.structures.structures-datagrid.structures-datagrid.fill">fill</link>($pager); +10 +11 // Render the paging links +12 echo $pager->links; +13 +14 // Or a select field if you like that +15 echo $pager->getpageselectbox(); +16 +17 ?> </programlisting> </example></para> </refsect1> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumnbyfield.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumnbyfield.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumnbyfield.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumnbyfield.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumnbyfield.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumnbyfield.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.getcolumnbyfield"> <refnamediv> <refname><function>Structures_DataGrid::getColumnByField</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumnbyname.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumnbyname.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumnbyname.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumnbyname.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumnbyname.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumnbyname.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.getcolumnbyname"> <refnamediv> <refname><function>Structures_DataGrid::getColumnByName</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumncount.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumncount.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumncount.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumncount.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumncount.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumncount.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.getcolumncount"> <refnamediv> <refname><function>Structures_DataGrid::getColumnCount</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentpage.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentpage.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentpage.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentpage.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentpage.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentpage.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.getcurrentpage"> <refnamediv> <refname><function>Structures_DataGrid::getCurrentPage</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentrecordnumberend.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentrecordnumberend.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentrecordnumberend.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentrecordnumberend.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentrecordnumberend.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentrecordnumberend.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.getcurrentrecordnumberend"> <refnamediv> <refname><function>Structures_DataGrid::getCurrentRecordNumberEnd</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentrecordnumberstart.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentrecordnumberstart.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentrecordnumberstart.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentrecordnumberstart.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentrecordnumberstart.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentrecordnumberstart.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.getcurrentrecordnumberstart"> <refnamediv> <refname><function>Structures_DataGrid::getCurrentRecordNumberStart</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/getoutput.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/getoutput.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/getoutput.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/getoutput.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/getoutput.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/getoutput.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.getoutput"> <refnamediv> <refname><function>Structures_DataGrid::getOutput</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/getpagecount.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/getpagecount.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/getpagecount.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/getpagecount.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/getpagecount.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/getpagecount.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.getpagecount"> <refnamediv> <refname><function>Structures_DataGrid::getPageCount</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/getrecordcount.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/getrecordcount.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/getrecordcount.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/getrecordcount.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/getrecordcount.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/getrecordcount.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.getrecordcount"> <refnamediv> <refname><function>Structures_DataGrid::getRecordCount</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/getrenderer.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/getrenderer.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/getrenderer.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/getrenderer.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/getrenderer.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/getrenderer.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.getrenderer"> <refnamediv> <refname><function>Structures_DataGrid::getRenderer</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/render.xml?r1=1.5&r2=1.6&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/render.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/render.xml:1.5 peardoc/en/package/structures/structures-datagrid/structures-datagrid/render.xml:1.6 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/render.xml:1.5 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/render.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.render"> <refnamediv> <refname><function>Structures_DataGrid::render</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/setcurrentpage.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/setcurrentpage.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/setcurrentpage.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/setcurrentpage.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/setcurrentpage.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/setcurrentpage.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.setcurrentpage"> <refnamediv> <refname><function>Structures_DataGrid::setCurrentPage</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdatasourceoption.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdatasourceoption.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdatasourceoption.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdatasourceoption.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdatasourceoption.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdatasourceoption.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.setdatasourceoption"> <refnamediv> <refname><function>Structures_DataGrid::setDataSourceOption</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdatasourceoptions.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdatasourceoptions.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdatasourceoptions.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdatasourceoptions.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdatasourceoptions.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdatasourceoptions.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.setdatasourceoptions"> <refnamediv> <refname><function>Structures_DataGrid::setDataSourceOptions</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdefaultsort.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdefaultsort.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdefaultsort.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdefaultsort.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdefaultsort.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdefaultsort.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.setdefaultsort"> <refnamediv> <refname><function>Structures_DataGrid::setDefaultSort</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrenderer.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrenderer.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrenderer.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrenderer.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrenderer.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrenderer.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.setrenderer"> <refnamediv> <refname><function>Structures_DataGrid::setRenderer</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrendereroption.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrendereroption.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrendereroption.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrendereroption.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrendereroption.xml:1.1 Wed Jun 28 20:04:03 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrendereroption.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.setrendereroption"> <refnamediv> <refname><function>Structures_DataGrid::setRendererOption</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrendereroptions.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrendereroptions.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrendereroptions.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrendereroptions.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrendereroptions.xml:1.1 Wed Jun 28 20:04:03 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrendereroptions.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.setrendereroptions"> <refnamediv> <refname><function>Structures_DataGrid::setRendererOptions</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrequestprefix.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrequestprefix.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrequestprefix.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrequestprefix.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrequestprefix.xml:1.1 Wed Jun 28 20:04:03 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrequestprefix.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.setrequestprefix"> <refnamediv> <refname><function>Structures_DataGrid::setRequestPrefix</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/sortrecordset.xml?r1=1.4&r2=1.5&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/sortrecordset.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/sortrecordset.xml:1.4 peardoc/en/package/structures/structures-datagrid/structures-datagrid/sortrecordset.xml:1.5 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/sortrecordset.xml:1.4 Wed Jun 28 20:04:03 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/sortrecordset.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.sortrecordset"> <refnamediv> <refname><function>Structures_DataGrid::sortRecordSet</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/structures-datagrid.xml?r1=1.4&r2=1.5&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/structures-datagrid.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/structures-datagrid.xml:1.4 peardoc/en/package/structures/structures-datagrid/structures-datagrid/structures-datagrid.xml:1.5 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/structures-datagrid.xml:1.4 Wed Jun 28 20:04:03 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/structures-datagrid.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.structures-datagrid"> <refnamediv> <refname>constructor <function>Structures_DataGrid::Structures_DataGrid</function></refname> @@ -36,7 +36,7 @@ </term> <listitem> <para> - The row limit per page. + The number of records to display per page. </para> </listitem> </varlistentry> @@ -51,9 +51,10 @@ </term> <listitem> <para> - The current page viewed. Note: if you specify -this, the "page" GET variable will -be ignored. + The current page viewed. In most cases, this +is useless. Note: if you specify this, the +"page" GET variable will be +ignored. </para> </listitem> </varlistentry> @@ -68,7 +69,13 @@ </term> <listitem> <para> - The type of renderer to use. + The type of renderer to use. You may +prefer to use the $type argument of <link +linkend="package.structures.structures-datagrid.structures-datagrid.render"><function>render</function></link>, +<link +linkend="package.structures.structures-datagrid.structures-datagrid.fill"><function>fill</function></link> +or <link +linkend="package.structures.structures-datagrid.structures-datagrid.getoutput"><function>getOutput</function></link> </para> </listitem> </varlistentry> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setautofillvalue.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setautofillvalue.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setautofillvalue.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setautofillvalue.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setautofillvalue.xml:1.1 Wed Jun 28 20:04:03 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setautofillvalue.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid-column.setautofillvalue"> <refnamediv> <refname><function>Structures_DataGrid_Column::setAutoFillValue</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setformatter.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setformatter.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setformatter.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setformatter.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setformatter.xml:1.1 Wed Jun 28 20:04:03 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setformatter.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid-column.setformatter"> <refnamediv> <refname><function>Structures_DataGrid_Column::setFormatter</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/structures-datagrid-column.xml?r1=1.6&r2=1.7&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/structures-datagrid-column.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/structures-datagrid-column.xml:1.6 peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/structures-datagrid-column.xml:1.7 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/structures-datagrid-column.xml:1.6 Wed Jun 28 20:04:03 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/structures-datagrid-column.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid-column.structures-datagrid-column"> <refnamediv> <refname>constructor <function>Structures_DataGrid_Column::Structures_DataGrid_Column</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/installation.xml?view=markup&rev=1.1 Index: peardoc/en/package/structures/structures-datagrid/installation.xml +++ peardoc/en/package/structures/structures-datagrid/installation.xml <?xml version="1.0" encoding="iso-8859-1" ?> <!-- $Revision: 1.1 $ --> <refentry id="package.structures.structures-datagrid.installation"> <refnamediv> <refname>Installation</refname> <refpurpose>How to install the core and drivers packages</refpurpose> </refnamediv> <refsect1> <title>Introduction</title> <para>If you are not familiar with PEAR, we recommend that you first read the <link linkend="installation">PEAR general installation instructions</link></para> <para>Structures_DataGrid use <emphasis>drivers that are provided separately</emphasis>. It means that installing the core package named <emphasis>Structures_DataGrid</emphasis> is not enough to get something working.</para> </refsect1> <refsect1> <title>Installation steps</title> <para>You will at least need one <link linkend="package.structures.structures-datagrid.datasources"> DataSource driver</link>, for handling the input, and one <link linkend="package.structures.structures-datagrid.rendering"> Rendering driver</link> (or Renderer), for the output.</para> <para>The following commands will install the core package, as well as the MDB2 DataSource (for binding SQL queries), HTML_Table Renderer and the Pager renderer (for paging links). That should cover your most common needs.</para> <screen> $ pear install -o Structures_DataGrid $ pear install -o Structures_DataGrid_DataSource_MDB2 $ pear install -o Structures_DataGrid_Renderer_HTMLTable $ pear install -o Structures_DataGrid_Renderer_Pager </screen> <para>Of course, you may want to use other input/output formats, such as XML, MS Excel, DB_DataObject, XUL, etc... Just install the corresponding drivers.</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 -->
http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid.xml?r1=1.28&r2=1.29&diff_format=u Index: peardoc/en/package/structures/structures-datagrid.xml diff -u peardoc/en/package/structures/structures-datagrid.xml:1.28 peardoc/en/package/structures/structures-datagrid.xml:1.29 --- peardoc/en/package/structures/structures-datagrid.xml:1.28 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid.xml Wed Jun 28 22:06:39 2006 @@ -1,7 +1,19 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.28 $ --> +<!-- $Revision: 1.29 $ --> <sect1 id="package.structures.structures-datagrid"> <title>Structures_DataGrid</title> +<!-- + <para> + <author> + <firstname>Olivier</firstname> + <surname>Guilyardi</surname> + <affiliation> + <orgname>Samalyse</orgname> + </affiliation> + <email>olivier@samalyse.com</email> + </author> + </para> + --> <para> <classname>Structures_DataGrid</classname> is a class for building, @@ -23,6 +35,7 @@ <sect2 id="package.structures.structures-datagrid.intro-and-features"> <title>Introduction and Features</title> &package.structures.structures-datagrid.intro; + &package.structures.structures-datagrid.installation; &package.structures.structures-datagrid.constants; &package.structures.structures-datagrid.datasources; &package.structures.structures-datagrid.rendering; http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/rendering.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/rendering.xml diff -u peardoc/en/package/structures/structures-datagrid/rendering.xml:1.1 peardoc/en/package/structures/structures-datagrid/rendering.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/rendering.xml:1.1 Thu Apr 7 15:36:11 2005 +++ peardoc/en/package/structures/structures-datagrid/rendering.xml Wed Jun 28 22:06:39 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.rendering"> <refnamediv> <refname>Rendering the output</refname> @@ -15,12 +15,12 @@ </para> </refsect1> <refsect1> - <title>How do I change the formatter?</title> + <title>How do I change the renderer?</title> <para> - To use a different formatter other than the HTML Table, you can simply - change the formatter by either defining the formatter in the Constructor - method or by using the setFormatter method. The parameter for defining - the formatter is specified by one of the formatter constants. + To use a different renderer other than the HTML Table, you can simply + change the renderer by either defining the renderer in the Constructor + method or by using the setrenderer method. The parameter for defining + the renderer is specified by one of the renderer constants. </para> </refsect1> <refsect1> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/addcolumn.xml?r1=1.5&r2=1.6&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.5 peardoc/en/package/structures/structures-datagrid/structures-datagrid/addcolumn.xml:1.6 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/addcolumn.xml:1.5 Wed Jun 28 20:48:30 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/addcolumn.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,3 @@ -<!-- $Revision: 1.5 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.addcolumn"> <refnamediv> <refname><function>Structures_DataGrid::addColumn</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/attachrenderer.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/attachrenderer.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/attachrenderer.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/attachrenderer.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/attachrenderer.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/attachrenderer.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.attachrenderer"> <refnamediv> <refname><function>Structures_DataGrid::attachRenderer</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/bind.xml?r1=1.8&r2=1.9&diff_format=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.8 peardoc/en/package/structures/structures-datagrid/structures-datagrid/bind.xml:1.9 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/bind.xml:1.8 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/bind.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.bind"> <refnamediv> <refname><function>Structures_DataGrid::bind</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/binddatasource.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/binddatasource.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/binddatasource.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/binddatasource.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/binddatasource.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/binddatasource.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.binddatasource"> <refnamediv> <refname><function>Structures_DataGrid::bindDataSource</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/build.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/build.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/build.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/build.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/build.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/build.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.build"> <refnamediv> <refname><function>Structures_DataGrid::build</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/dump.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/dump.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/dump.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/dump.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/dump.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/dump.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.dump"> <refnamediv> <refname><function>Structures_DataGrid::dump</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/fill.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/fill.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/fill.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/fill.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/fill.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/fill.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.fill"> <refnamediv> <refname><function>Structures_DataGrid::fill</function></refname> @@ -109,10 +109,21 @@ <title>Examples</title> <para><example><title>Filling a Pager object</title><programlisting role="php-highlighted">1 <?php 2 -3 $pager =& Pager::factory(); -4 $datagrid-><link linkend="package.structures.structures-datagrid.structures-datagrid.fill">fill</link>($pager); -5 -6 ?> +3 require_once 'Pager/Pager.php'; +4 +5 // Create a Pager object with your own options +6 $pager =& Pager::factory($options); +7 +8 // fill() sets the $pager object up, according to your data and settings +9 $datagrid-><link linkend="package.structures.structures-datagrid.structures-datagrid.fill">fill</link>($pager); +10 +11 // Render the paging links +12 echo $pager->links; +13 +14 // Or a select field if you like that +15 echo $pager->getpageselectbox(); +16 +17 ?> </programlisting> </example></para> </refsect1> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumnbyfield.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumnbyfield.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumnbyfield.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumnbyfield.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumnbyfield.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumnbyfield.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.getcolumnbyfield"> <refnamediv> <refname><function>Structures_DataGrid::getColumnByField</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumnbyname.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumnbyname.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumnbyname.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumnbyname.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumnbyname.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumnbyname.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.getcolumnbyname"> <refnamediv> <refname><function>Structures_DataGrid::getColumnByName</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumncount.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumncount.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumncount.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumncount.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumncount.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcolumncount.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.getcolumncount"> <refnamediv> <refname><function>Structures_DataGrid::getColumnCount</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentpage.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentpage.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentpage.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentpage.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentpage.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentpage.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.getcurrentpage"> <refnamediv> <refname><function>Structures_DataGrid::getCurrentPage</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentrecordnumberend.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentrecordnumberend.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentrecordnumberend.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentrecordnumberend.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentrecordnumberend.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentrecordnumberend.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.getcurrentrecordnumberend"> <refnamediv> <refname><function>Structures_DataGrid::getCurrentRecordNumberEnd</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentrecordnumberstart.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentrecordnumberstart.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentrecordnumberstart.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentrecordnumberstart.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentrecordnumberstart.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/getcurrentrecordnumberstart.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.getcurrentrecordnumberstart"> <refnamediv> <refname><function>Structures_DataGrid::getCurrentRecordNumberStart</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/getoutput.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/getoutput.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/getoutput.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/getoutput.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/getoutput.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/getoutput.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.getoutput"> <refnamediv> <refname><function>Structures_DataGrid::getOutput</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/getpagecount.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/getpagecount.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/getpagecount.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/getpagecount.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/getpagecount.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/getpagecount.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.getpagecount"> <refnamediv> <refname><function>Structures_DataGrid::getPageCount</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/getrecordcount.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/getrecordcount.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/getrecordcount.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/getrecordcount.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/getrecordcount.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/getrecordcount.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.getrecordcount"> <refnamediv> <refname><function>Structures_DataGrid::getRecordCount</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/getrenderer.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/getrenderer.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/getrenderer.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/getrenderer.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/getrenderer.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/getrenderer.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.getrenderer"> <refnamediv> <refname><function>Structures_DataGrid::getRenderer</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/render.xml?r1=1.5&r2=1.6&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/render.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/render.xml:1.5 peardoc/en/package/structures/structures-datagrid/structures-datagrid/render.xml:1.6 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/render.xml:1.5 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/render.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.render"> <refnamediv> <refname><function>Structures_DataGrid::render</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/setcurrentpage.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/setcurrentpage.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/setcurrentpage.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/setcurrentpage.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/setcurrentpage.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/setcurrentpage.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.setcurrentpage"> <refnamediv> <refname><function>Structures_DataGrid::setCurrentPage</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdatasourceoption.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdatasourceoption.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdatasourceoption.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdatasourceoption.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdatasourceoption.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdatasourceoption.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.setdatasourceoption"> <refnamediv> <refname><function>Structures_DataGrid::setDataSourceOption</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdatasourceoptions.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdatasourceoptions.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdatasourceoptions.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdatasourceoptions.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdatasourceoptions.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdatasourceoptions.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.setdatasourceoptions"> <refnamediv> <refname><function>Structures_DataGrid::setDataSourceOptions</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdefaultsort.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdefaultsort.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdefaultsort.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdefaultsort.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdefaultsort.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/setdefaultsort.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.setdefaultsort"> <refnamediv> <refname><function>Structures_DataGrid::setDefaultSort</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrenderer.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrenderer.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrenderer.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrenderer.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrenderer.xml:1.1 Wed Jun 28 20:04:02 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrenderer.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.setrenderer"> <refnamediv> <refname><function>Structures_DataGrid::setRenderer</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrendereroption.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrendereroption.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrendereroption.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrendereroption.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrendereroption.xml:1.1 Wed Jun 28 20:04:03 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrendereroption.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.setrendereroption"> <refnamediv> <refname><function>Structures_DataGrid::setRendererOption</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrendereroptions.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrendereroptions.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrendereroptions.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrendereroptions.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrendereroptions.xml:1.1 Wed Jun 28 20:04:03 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrendereroptions.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.setrendereroptions"> <refnamediv> <refname><function>Structures_DataGrid::setRendererOptions</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrequestprefix.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrequestprefix.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrequestprefix.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrequestprefix.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrequestprefix.xml:1.1 Wed Jun 28 20:04:03 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/setrequestprefix.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.setrequestprefix"> <refnamediv> <refname><function>Structures_DataGrid::setRequestPrefix</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/sortrecordset.xml?r1=1.4&r2=1.5&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/sortrecordset.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/sortrecordset.xml:1.4 peardoc/en/package/structures/structures-datagrid/structures-datagrid/sortrecordset.xml:1.5 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/sortrecordset.xml:1.4 Wed Jun 28 20:04:03 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/sortrecordset.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.sortrecordset"> <refnamediv> <refname><function>Structures_DataGrid::sortRecordSet</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/structures-datagrid.xml?r1=1.4&r2=1.5&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/structures-datagrid.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid/structures-datagrid.xml:1.4 peardoc/en/package/structures/structures-datagrid/structures-datagrid/structures-datagrid.xml:1.5 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid/structures-datagrid.xml:1.4 Wed Jun 28 20:04:03 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/structures-datagrid.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid.structures-datagrid"> <refnamediv> <refname>constructor <function>Structures_DataGrid::Structures_DataGrid</function></refname> @@ -36,7 +36,7 @@ </term> <listitem> <para> - The row limit per page. + The number of records to display per page. </para> </listitem> </varlistentry> @@ -51,9 +51,10 @@ </term> <listitem> <para> - The current page viewed. Note: if you specify -this, the "page" GET variable will -be ignored. + The current page viewed. In most cases, this +is useless. Note: if you specify this, the +"page" GET variable will be +ignored. </para> </listitem> </varlistentry> @@ -68,7 +69,13 @@ </term> <listitem> <para> - The type of renderer to use. + The type of renderer to use. You may +prefer to use the $type argument of <link +linkend="package.structures.structures-datagrid.structures-datagrid.render"><function>render</function></link>, +<link +linkend="package.structures.structures-datagrid.structures-datagrid.fill"><function>fill</function></link> +or <link +linkend="package.structures.structures-datagrid.structures-datagrid.getoutput"><function>getOutput</function></link> </para> </listitem> </varlistentry> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setautofillvalue.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setautofillvalue.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setautofillvalue.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setautofillvalue.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setautofillvalue.xml:1.1 Wed Jun 28 20:04:03 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setautofillvalue.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid-column.setautofillvalue"> <refnamediv> <refname><function>Structures_DataGrid_Column::setAutoFillValue</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setformatter.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setformatter.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setformatter.xml:1.1 peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setformatter.xml:1.2 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setformatter.xml:1.1 Wed Jun 28 20:04:03 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setformatter.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid-column.setformatter"> <refnamediv> <refname><function>Structures_DataGrid_Column::setFormatter</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/structures-datagrid-column.xml?r1=1.6&r2=1.7&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/structures-datagrid-column.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/structures-datagrid-column.xml:1.6 peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/structures-datagrid-column.xml:1.7 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/structures-datagrid-column.xml:1.6 Wed Jun 28 20:04:03 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/structures-datagrid-column.xml Wed Jun 28 22:06:39 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid-column.structures-datagrid-column"> <refnamediv> <refname>constructor <function>Structures_DataGrid_Column::Structures_DataGrid_Column</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/installation.xml?view=markup&rev=1.1 Index: peardoc/en/package/structures/structures-datagrid/installation.xml +++ peardoc/en/package/structures/structures-datagrid/installation.xml <?xml version="1.0" encoding="iso-8859-1" ?> <!-- $Revision: 1.1 $ --> <refentry id="package.structures.structures-datagrid.installation"> <refnamediv> <refname>Installation</refname> <refpurpose>How to install the core and drivers packages</refpurpose> </refnamediv> <refsect1> <title>Introduction</title> <para>If you are not familiar with PEAR, we recommend that you first read the <link linkend="installation">PEAR general installation instructions</link></para> <para>Structures_DataGrid use <emphasis>drivers that are provided separately</emphasis>. It means that installing the core package named <emphasis>Structures_DataGrid</emphasis> is not enough to get something working.</para> </refsect1> <refsect1> <title>Installation steps</title> <para>You will at least need one <link linkend="package.structures.structures-datagrid.datasources"> DataSource driver</link>, for handling the input, and one <link linkend="package.structures.structures-datagrid.rendering"> Rendering driver</link> (or Renderer), for the output.</para> <para>The following commands will install the core package, as well as the MDB2 DataSource (for binding SQL queries), HTML_Table Renderer and the Pager renderer (for paging links). That should cover your most common needs.</para> <screen> $ pear install -o Structures_DataGrid $ pear install -o Structures_DataGrid_DataSource_MDB2 $ pear install -o Structures_DataGrid_Renderer_HTMLTable $ pear install -o Structures_DataGrid_Renderer_Pager </screen> <para>Of course, you may want to use other input/output formats, such as XML, MS Excel, DB_DataObject, XUL, etc... Just install the corresponding drivers.</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 -->