cvs: peardoc /en/package/structures/structures-datagrid/structures-datagrid datasourcefactory.xml
| From: | Olivier Guilyardi | Date: | Thu, 29 Jun 2006 22:08:46 +0000 |
| Subject: | cvs: peardoc /en/package/structures/structures-datagrid/structures-datagrid datasourcefactory.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-8100@lists.php.net to get a copy of this message | ||
olivierg Thu Jun 29 22:08:46 2006 UTC
Modified files:
/peardoc/en/package/structures/structures-datagrid/structures-datagrid
datasourcefactory.xml
Log:
datasourceFactory() -> dataSourceFactory()
http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid/datasourcefactory.xml?r1=1.1&r2=1.2&diff_format=u
Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid/datasourcefactory.xml
diff -u
peardoc/en/package/structures/structures-datagrid/structures-datagrid/datasourcefactory.xml:1.1
peardoc/en/package/structures/structures-datagrid/structures-datagrid/datasourcefactory.xml:1.2
---
peardoc/en/package/structures/structures-datagrid/structures-datagrid/datasourcefactory.xml:1.1 Thu
Jun 29 22:04:28 2006
+++ peardoc/en/package/structures/structures-datagrid/structures-datagrid/datasourcefactory.xml Thu
Jun 29 22:08:46 2006
@@ -1,7 +1,7 @@
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry
id="package.structures.structures-datagrid.structures-datagrid.datasourcefactory">
<refnamediv>
-
<refname><function>Structures_DataGrid::datasourceFactory</function></refname>
+
<refname><function>Structures_DataGrid::dataSourceFactory</function></refname>
<refpurpose>Datasource driver Factory</refpurpose>
</refnamediv>
<refsynopsisdiv>
@@ -10,7 +10,7 @@
require_once 'Structures/DataGrid.php';
</funcsynopsisinfo>
<funcprototype>
- <funcdef>Structures_DataGrid_DataSource|PEAR_Error&
<function>Structures_DataGrid::datasourceFactory</function></funcdef>
+ <funcdef>Structures_DataGrid_DataSource|PEAR_Error&
<function>Structures_DataGrid::dataSourceFactory</function></funcdef>
<paramdef>mixed <parameter>$source</parameter></paramdef>
<paramdef>array <parameter> <optional>$options =
array()</optional></parameter></paramdef>
<paramdef>string <parameter> <optional>$type =
&null;</optional></parameter></paramdef>
@@ -22,11 +22,11 @@
&title.desc;
<para>A clever method which loads and instantiate data source drivers.</para>
<para>Can be called in various ways:</para>
-<para>Detect the source type and load the appropriate driver with default options:
<programlisting role="php-highlighted">1 $driver =& <link
linkend="package.structures.structures-datagrid.structures-datagrid.structures-datagrid">Structures_DataGrid</link>::<link
linkend="package.structures.structures-datagrid.structures-datagrid.datasourcefactory">datasourceFactory</link>($source);
+<para>Detect the source type and load the appropriate driver with default options:
<programlisting role="php-highlighted">1 $driver =& <link
linkend="package.structures.structures-datagrid.structures-datagrid.structures-datagrid">Structures_DataGrid</link>::<link
linkend="package.structures.structures-datagrid.structures-datagrid.datasourcefactory">dataSourceFactory</link>($source);
</programlisting></para>
-<para>Detect the source type and load the appropriate driver with custom options:
<programlisting role="php-highlighted">1 $driver =& <link
linkend="package.structures.structures-datagrid.structures-datagrid.structures-datagrid">Structures_DataGrid</link>::<link
linkend="package.structures.structures-datagrid.structures-datagrid.datasourcefactory">datasourceFactory</link>($source,
$options);
+<para>Detect the source type and load the appropriate driver with custom options:
<programlisting role="php-highlighted">1 $driver =& <link
linkend="package.structures.structures-datagrid.structures-datagrid.structures-datagrid">Structures_DataGrid</link>::<link
linkend="package.structures.structures-datagrid.structures-datagrid.datasourcefactory">dataSourceFactory</link>($source,
$options);
</programlisting></para>
-<para>Load a driver for an explicit type (faster, bypasses detection routine):
<programlisting role="php-highlighted">1 $driver =& <link
linkend="package.structures.structures-datagrid.structures-datagrid.structures-datagrid">Structures_DataGrid</link>::<link
linkend="package.structures.structures-datagrid.structures-datagrid.datasourcefactory">datasourceFactory</link>($source,
$options, $type);
+<para>Load a driver for an explicit type (faster, bypasses detection routine):
<programlisting role="php-highlighted">1 $driver =& <link
linkend="package.structures.structures-datagrid.structures-datagrid.structures-datagrid">Structures_DataGrid</link>::<link
linkend="package.structures.structures-datagrid.structures-datagrid.datasourcefactory">dataSourceFactory</link>($source,
$options, $type);
</programlisting></para>
</refsect1>