cvs: peardoc /en/package/structures/structures-datagrid/structures-datagrid-datasource dbquery.xml excel.xml mdb2.xml
/en/package/structures/structures-datagrid/structures-datagrid-renderer xls.xml
| From: | Mark Wiesemann | Date: | Sun, 11 Mar 2007 14:46:30 +0000 |
| Subject: | cvs: peardoc /en/package/structures/structures-datagrid/structures-datagrid-datasource dbquery.xml excel.xml mdb2.xml /en/package/structures/structures-datagrid/structures-datagrid-renderer xls.xml |
||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-9509@lists.php.net to get a copy of this message | ||
wiesemann Sun Mar 11 14:46:30 2007 UTC
Modified files:
/peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource
dbquery.xml
excel.xml
mdb2.xml
/peardoc/en/package/structures/structures-datagrid/structures-datagrid-renderer
xls.xml
Log:
- sync source code and source comments changes into the manual
http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/dbquery.xml?r1=1.8&r2=1.9&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/dbquery.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/dbquery.xml:1.8 peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/dbquery.xml:1.9 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/dbquery.xml:1.8 Fri Dec 15 14:39:03 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/dbquery.xml Sun Mar 11 14:46:30 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid-datasource.dbquery"> <refnamediv> <refname>Structures_DataGrid_DataSource_DBQuery</refname> @@ -56,6 +56,13 @@ </thead> <tbody> <row> + <entry>count_query</entry> + <entry>string</entry> + <entry>Query that calculates the number of rows. See below for more + information about when such a count query is needed.</entry> + <entry>''</entry> + </row> + <row> <entry>dbc</entry> <entry>object</entry> <entry>A PEAR::DB instance that will be used by this driver. Either this @@ -113,13 +120,14 @@ <para> If you use complex queries (e.g. with complex joins or with aliases), $datagrid->getRecordCount() might return a wrong result. For the case of - GROUP BY, UNION, or DISTINCT in your queries, this driver already has special - handling. However, if you observe wrong record counts, you need to specify - a special query that returns only the number of records (e.g. 'SELECT COUNT(*) - FROM ...') as an additional option 'count_query' to the bind() call. + GROUP BY, UNION, or DISTINCT in your queries, and for the case of subqueries, + this driver already has special handling. However, if you observe wrong + record counts, you need to specify a special query that returns only the + number of records (e.g. 'SELECT COUNT(*) FROM ...') as an additional option + 'count_query' to the bind() call. </para> <para> - You can specify a ORDER BY statement in your query. Please be aware that this + You can specify an ORDER BY statement in your query. Please be aware that this sorting statement is then used in *every* query before the sorting options that come from a renderer (e.g. by clicking on the column header when using the HTML_Table renderer which is sent in the HTTP request). http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/excel.xml?r1=1.7&r2=1.8&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/excel.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/excel.xml:1.7 peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/excel.xml:1.8 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/excel.xml:1.7 Fri Dec 15 14:39:03 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/excel.xml Sun Mar 11 14:46:30 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid-datasource.excel"> <refnamediv> <refname>Structures_DataGrid_DataSource_Excel</refname> @@ -99,6 +99,11 @@ <refsect1 id="package.structures.structures-datagrid.structures-datagrid-datasource.excel.notes"> <title>General notes</title> <para> + Spreadsheet_Excel_Reader ("PHP-ExcelReader") is not available as a PEAR + package. It is available on SourceForge.net: + http://sourceforge.net/projects/phpexcelreader/ + </para> + <para> This class expects the file reader.php in the directory Spreadsheet/Excel/. </para> <para> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/mdb2.xml?r1=1.8&r2=1.9&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/mdb2.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/mdb2.xml:1.8 peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/mdb2.xml:1.9 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/mdb2.xml:1.8 Fri Dec 15 14:39:03 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/mdb2.xml Sun Mar 11 14:46:30 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid-datasource.mdb2"> <refnamediv> <refname>Structures_DataGrid_DataSource_MDB2</refname> @@ -56,6 +56,13 @@ </thead> <tbody> <row> + <entry>count_query</entry> + <entry>string</entry> + <entry>Query that calculates the number of rows. See below for more + information about when such a count query is needed.</entry> + <entry>''</entry> + </row> + <row> <entry>dbc</entry> <entry>object</entry> <entry>A PEAR::MDB2 instance that will be used by this driver. Either @@ -113,13 +120,14 @@ <para> If you use complex queries (e.g. with complex joins or with aliases), $datagrid->getRecordCount() might return a wrong result. For the case of - GROUP BY, UNION, or DISTINCT in your queries, this driver already has special - handling. However, if you observe wrong record counts, you need to specify - a special query that returns only the number of records (e.g. 'SELECT COUNT(*) - FROM ...') as an additional option 'count_query' to the bind() call. + GROUP BY, UNION, or DISTINCT in your queries, and for the case of subqueries, + this driver already has special handling. However, if you observe wrong + record counts, you need to specify a special query that returns only the + number of records (e.g. 'SELECT COUNT(*) FROM ...') as an additional option + 'count_query' to the bind() call. </para> <para> - You can specify a ORDER BY statement in your query. Please be aware that this + You can specify an ORDER BY statement in your query. Please be aware that this sorting statement is then used in *every* query before the sorting options that come from a renderer (e.g. by clicking on the column header when using the HTML_Table renderer which is sent in the HTTP request). http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid-renderer/xls.xml?r1=1.8&r2=1.9&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid-renderer/xls.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid-renderer/xls.xml:1.8 peardoc/en/package/structures/structures-datagrid/structures-datagrid-renderer/xls.xml:1.9 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid-renderer/xls.xml:1.8 Sun Dec 10 09:53:25 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid-renderer/xls.xml Sun Mar 11 14:46:30 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid-renderer.xls"> <refnamediv> <refname>Structures_DataGrid_Renderer_XLS</refname> @@ -179,6 +179,13 @@ <entry>0</entry> </row> <row> + <entry>tempDir</entry> + <entry>string</entry> + <entry>A temporary directory to be used by Spreadsheet_Excel_Writer (cp. + "General Notes" section).</entry> + <entry>null</entry> + </row> + <row> <entry>worksheet</entry> <entry>object</entry> <entry>Optional reference to a Spreadsheet_Excel_Writer_Worksheet object. @@ -203,6 +210,11 @@ with it; that's even recommended. </para> <para> + If PHP's safe_mode is enabled, Spreadsheet_Excel_Writer sometimes fails to + generate the Excel file. You can avoid this problem by setting the 'tempDir' + option to a (temporary) directory that is writable by PHP. + </para> + <para> NOTE ABOUT FORMATTING: </para> <para>
http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/dbquery.xml?r1=1.8&r2=1.9&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/dbquery.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/dbquery.xml:1.8 peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/dbquery.xml:1.9 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/dbquery.xml:1.8 Fri Dec 15 14:39:03 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/dbquery.xml Sun Mar 11 14:46:30 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid-datasource.dbquery"> <refnamediv> <refname>Structures_DataGrid_DataSource_DBQuery</refname> @@ -56,6 +56,13 @@ </thead> <tbody> <row> + <entry>count_query</entry> + <entry>string</entry> + <entry>Query that calculates the number of rows. See below for more + information about when such a count query is needed.</entry> + <entry>''</entry> + </row> + <row> <entry>dbc</entry> <entry>object</entry> <entry>A PEAR::DB instance that will be used by this driver. Either this @@ -113,13 +120,14 @@ <para> If you use complex queries (e.g. with complex joins or with aliases), $datagrid->getRecordCount() might return a wrong result. For the case of - GROUP BY, UNION, or DISTINCT in your queries, this driver already has special - handling. However, if you observe wrong record counts, you need to specify - a special query that returns only the number of records (e.g. 'SELECT COUNT(*) - FROM ...') as an additional option 'count_query' to the bind() call. + GROUP BY, UNION, or DISTINCT in your queries, and for the case of subqueries, + this driver already has special handling. However, if you observe wrong + record counts, you need to specify a special query that returns only the + number of records (e.g. 'SELECT COUNT(*) FROM ...') as an additional option + 'count_query' to the bind() call. </para> <para> - You can specify a ORDER BY statement in your query. Please be aware that this + You can specify an ORDER BY statement in your query. Please be aware that this sorting statement is then used in *every* query before the sorting options that come from a renderer (e.g. by clicking on the column header when using the HTML_Table renderer which is sent in the HTTP request). http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/excel.xml?r1=1.7&r2=1.8&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/excel.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/excel.xml:1.7 peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/excel.xml:1.8 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/excel.xml:1.7 Fri Dec 15 14:39:03 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/excel.xml Sun Mar 11 14:46:30 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid-datasource.excel"> <refnamediv> <refname>Structures_DataGrid_DataSource_Excel</refname> @@ -99,6 +99,11 @@ <refsect1 id="package.structures.structures-datagrid.structures-datagrid-datasource.excel.notes"> <title>General notes</title> <para> + Spreadsheet_Excel_Reader ("PHP-ExcelReader") is not available as a PEAR + package. It is available on SourceForge.net: + http://sourceforge.net/projects/phpexcelreader/ + </para> + <para> This class expects the file reader.php in the directory Spreadsheet/Excel/. </para> <para> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/mdb2.xml?r1=1.8&r2=1.9&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/mdb2.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/mdb2.xml:1.8 peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/mdb2.xml:1.9 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/mdb2.xml:1.8 Fri Dec 15 14:39:03 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/mdb2.xml Sun Mar 11 14:46:30 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid-datasource.mdb2"> <refnamediv> <refname>Structures_DataGrid_DataSource_MDB2</refname> @@ -56,6 +56,13 @@ </thead> <tbody> <row> + <entry>count_query</entry> + <entry>string</entry> + <entry>Query that calculates the number of rows. See below for more + information about when such a count query is needed.</entry> + <entry>''</entry> + </row> + <row> <entry>dbc</entry> <entry>object</entry> <entry>A PEAR::MDB2 instance that will be used by this driver. Either @@ -113,13 +120,14 @@ <para> If you use complex queries (e.g. with complex joins or with aliases), $datagrid->getRecordCount() might return a wrong result. For the case of - GROUP BY, UNION, or DISTINCT in your queries, this driver already has special - handling. However, if you observe wrong record counts, you need to specify - a special query that returns only the number of records (e.g. 'SELECT COUNT(*) - FROM ...') as an additional option 'count_query' to the bind() call. + GROUP BY, UNION, or DISTINCT in your queries, and for the case of subqueries, + this driver already has special handling. However, if you observe wrong + record counts, you need to specify a special query that returns only the + number of records (e.g. 'SELECT COUNT(*) FROM ...') as an additional option + 'count_query' to the bind() call. </para> <para> - You can specify a ORDER BY statement in your query. Please be aware that this + You can specify an ORDER BY statement in your query. Please be aware that this sorting statement is then used in *every* query before the sorting options that come from a renderer (e.g. by clicking on the column header when using the HTML_Table renderer which is sent in the HTTP request). http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid-renderer/xls.xml?r1=1.8&r2=1.9&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid-renderer/xls.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid-renderer/xls.xml:1.8 peardoc/en/package/structures/structures-datagrid/structures-datagrid-renderer/xls.xml:1.9 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid-renderer/xls.xml:1.8 Sun Dec 10 09:53:25 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid-renderer/xls.xml Sun Mar 11 14:46:30 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid-renderer.xls"> <refnamediv> <refname>Structures_DataGrid_Renderer_XLS</refname> @@ -179,6 +179,13 @@ <entry>0</entry> </row> <row> + <entry>tempDir</entry> + <entry>string</entry> + <entry>A temporary directory to be used by Spreadsheet_Excel_Writer (cp. + "General Notes" section).</entry> + <entry>null</entry> + </row> + <row> <entry>worksheet</entry> <entry>object</entry> <entry>Optional reference to a Spreadsheet_Excel_Writer_Worksheet object. @@ -203,6 +210,11 @@ with it; that's even recommended. </para> <para> + If PHP's safe_mode is enabled, Spreadsheet_Excel_Writer sometimes fails to + generate the Excel file. You can avoid this problem by setting the 'tempDir' + option to a (temporary) directory that is writable by PHP. + </para> + <para> NOTE ABOUT FORMATTING: </para> <para>