cvs: peardoc /de/package/structures structures-datagrid.xml /en/package/structures structures-datagrid.xml
/en/package/structures/structures-datagrid/structures-datagrid-datasource excel.xml /fr/package/structures structures-datagrid.xml
| From: | Mark Wiesemann | Date: | Sat, 14 Oct 2006 20:33:16 +0000 |
| Subject: | cvs: peardoc /de/package/structures structures-datagrid.xml /en/package/structures structures-datagrid.xml /en/package/structures/structures-datagrid/structures-datagrid-datasource excel.xml /fr/package/structures structures-datagrid.xml |
||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-8613@lists.php.net to get a copy of this message | ||
wiesemann Sat Oct 14 20:33:16 2006 UTC
Added files:
/peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource
excel.xml
Modified files:
/peardoc/en/package/structures structures-datagrid.xml
/peardoc/de/package/structures structures-datagrid.xml
/peardoc/fr/package/structures structures-datagrid.xml
Log:
- documentation for new driver
- sync DE and FR to EN
http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid.xml?r1=1.37&r2=1.38&diff_format=u
Index: peardoc/en/package/structures/structures-datagrid.xml
diff -u peardoc/en/package/structures/structures-datagrid.xml:1.37
peardoc/en/package/structures/structures-datagrid.xml:1.38
--- peardoc/en/package/structures/structures-datagrid.xml:1.37 Sun Sep 17 19:58:39 2006
+++ peardoc/en/package/structures/structures-datagrid.xml Sat Oct 14 20:33:16 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.37 $ -->
+<!-- $Revision: 1.38 $ -->
<sect1 id="package.structures.structures-datagrid">
<title>Structures_DataGrid</title>
<!--
@@ -129,6 +129,7 @@
&package.structures.structures-datagrid.structures-datagrid-datasource.db;
&package.structures.structures-datagrid.structures-datagrid-datasource.dbquery;
&package.structures.structures-datagrid.structures-datagrid-datasource.dbtable;
+&package.structures.structures-datagrid.structures-datagrid-datasource.excel;
&package.structures.structures-datagrid.structures-datagrid-datasource.mdb2;
&package.structures.structures-datagrid.structures-datagrid-datasource.rss;
&package.structures.structures-datagrid.structures-datagrid-datasource.xml;
http://cvs.php.net/viewvc.cgi/peardoc/de/package/structures/structures-datagrid.xml?r1=1.11&r2=1.12&diff_format=u
Index: peardoc/de/package/structures/structures-datagrid.xml
diff -u peardoc/de/package/structures/structures-datagrid.xml:1.11
peardoc/de/package/structures/structures-datagrid.xml:1.12
--- peardoc/de/package/structures/structures-datagrid.xml:1.11 Sun Sep 17 19:58:39 2006
+++ peardoc/de/package/structures/structures-datagrid.xml Sat Oct 14 20:33:16 2006
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.11 $ -->
-<!-- EN-Revision: 1.37 Maintainer: alexmerz Status: ready -->
+<!-- $Revision: 1.12 $ -->
+<!-- EN-Revision: 1.38 Maintainer: alexmerz Status: ready -->
<sect1 id="package.structures.structures-datagrid">
<title>Structures_DataGrid</title>
@@ -114,6 +114,7 @@
&package.structures.structures-datagrid.structures-datagrid-datasource.db;
&package.structures.structures-datagrid.structures-datagrid-datasource.dbquery;
&package.structures.structures-datagrid.structures-datagrid-datasource.dbtable;
+&package.structures.structures-datagrid.structures-datagrid-datasource.excel;
&package.structures.structures-datagrid.structures-datagrid-datasource.mdb2;
&package.structures.structures-datagrid.structures-datagrid-datasource.rss;
&package.structures.structures-datagrid.structures-datagrid-datasource.xml;
http://cvs.php.net/viewvc.cgi/peardoc/fr/package/structures/structures-datagrid.xml?r1=1.9&r2=1.10&diff_format=u
Index: peardoc/fr/package/structures/structures-datagrid.xml
diff -u peardoc/fr/package/structures/structures-datagrid.xml:1.9
peardoc/fr/package/structures/structures-datagrid.xml:1.10
--- peardoc/fr/package/structures/structures-datagrid.xml:1.9 Sun Sep 17 19:58:39 2006
+++ peardoc/fr/package/structures/structures-datagrid.xml Sat Oct 14 20:33:16 2006
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.9 $ -->
-<!-- EN-Revision: 1.37 Maintainer: moosh Status: ready -->
+<!-- $Revision: 1.10 $ -->
+<!-- EN-Revision: 1.38 Maintainer: moosh Status: ready -->
<sect1 id="package.structures.structures-datagrid">
<title>Structures_DataGrid</title>
@@ -117,6 +117,7 @@
&package.structures.structures-datagrid.structures-datagrid-datasource.db;
&package.structures.structures-datagrid.structures-datagrid-datasource.dbquery;
&package.structures.structures-datagrid.structures-datagrid-datasource.dbtable;
+ &package.structures.structures-datagrid.structures-datagrid-datasource.excel;
&package.structures.structures-datagrid.structures-datagrid-datasource.mdb2;
&package.structures.structures-datagrid.structures-datagrid-datasource.rss;
&package.structures.structures-datagrid.structures-datagrid-datasource.xml;
http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/excel.xml?view=markup&rev=1.1
Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/excel.xml
+++ peardoc/en/package/structures/structures-datagrid/structures-datagrid-datasource/excel.xml
<?xml version="1.0" encoding="iso-8859-1" ?>
<!-- $Revision: 1.1 $ -->
<refentry
id="package.structures.structures-datagrid.structures-datagrid-datasource.excel">
<refnamediv>
<refname>Structures_DataGrid_DataSource_Excel</refname>
<refpurpose>Excel Spreadsheet Data Source Driver</refpurpose>
</refnamediv>
<refsect1
id="package.structures.structures-datagrid.structures-datagrid-datasource.excel.desc">
<title>Description</title>
<para>
This class is a data source driver for an Excel spreadsheet.
</para>
</refsect1>
<refsect1
id="package.structures.structures-datagrid.structures-datagrid-datasource.excel.options">
<title>Options</title>
<para>
This driver accepts the following options:
</para>
<table>
<title>Options for this driver</title>
<tgroup cols="4">
<thead>
<row>
<entry>Option</entry>
<entry>Type</entry>
<entry>Description</entry>
<entry>Default Value</entry>
</row>
</thead>
<tbody>
<row>
<entry>fields</entry>
<entry>array</entry>
<entry>Which data fields to fetch from the datasource. An empty array
means: all fields. Form: array(field1, field2, ...)</entry>
<entry>array()</entry>
</row>
<row>
<entry>generate_columns</entry>
<entry>bool</entry>
<entry>Generate Structures_DataGrid_Column objects with labels. See the
'labels' option.</entry>
<entry>false</entry>
</row>
<row>
<entry>header</entry>
<entry>bool</entry>
<entry>Whether the Excel file contains a header row</entry>
<entry>false</entry>
</row>
<row>
<entry>labels</entry>
<entry>array</entry>
<entry>Data field to column label mapping. Only used when
'generate_columns' is true. Form: array(field => label, ...)</entry>
<entry>array()</entry>
</row>
</tbody>
</tgroup>
</table>
</refsect1>
<refsect1
id="package.structures.structures-datagrid.structures-datagrid-datasource.excel.notes">
<title>General notes</title>
<para>
This class expects the file reader.php in the directory Spreadsheet/Excel/.
</para>
<para>
Please note that the current version (2i) of Spreadsheet_Excel_Reader contains
a die() statement in the read() method in reader.php (line 171). This makes
a reasonable PEAR error handling for the "file not found" error impossible.
</para>
<para>
It is therefore recommended that you replace the die() statement by something
like this:
<programlisting>
return PEAR::raiseError('The filename ' . $sFileName . ' is not readable');
</programlisting>
This class is optimized for the changed code (but will work also with the
die() in the reader class, of course), and provides then a reasonable error
handling.
</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
-->