cvs: peardoc /en/package/structures/structures-datagrid structures-datagrid.xml
| From: | Andrew Nagy | Date: | Wed, 29 Sep 2004 14:59:23 +0000 |
| Subject: | cvs: peardoc /en/package/structures/structures-datagrid structures-datagrid.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-4901@lists.php.net to get a copy of this message | ||
asnagy Wed Sep 29 10:59:23 2004 EDT
Modified files:
/peardoc/en/package/structures/structures-datagrid
structures-datagrid.xml
Log:
Finished content
http://cvs.php.net/diff.php/peardoc/en/package/structures/structures-datagrid/structures-datagrid.xml?r1=1.1&r2=1.2&ty=u
Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid.xml
diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid.xml:1.1
peardoc/en/package/structures/structures-datagrid/structures-datagrid.xml:1.2
--- peardoc/en/package/structures/structures-datagrid/structures-datagrid.xml:1.1 Wed Sep 29
10:34:31 2004
+++ peardoc/en/package/structures/structures-datagrid/structures-datagrid.xml Wed Sep 29 10:59:23
2004
@@ -1,19 +1,66 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="package.structures.structures_datagrid.structures_datagrid">
<refnamediv>
<refname><classname>Structures_DataGrid</classname></refname>
- <refpurpose>Main class</refpurpose>
+ <refpurpose>Constructor</refpurpose>
</refnamediv>
+ <refsynopsisdiv>
+ <funcsynopsis>
+ <funcsynopsisinfo>
+ require_once 'Structures/DataGrid.php';
+ </funcsynopsisinfo>
+ <funcprototype>
+ <funcdef>void
+ <function>Structures_DataGrid</function>
+ </funcdef>
+ <paramdef>
+ integer <parameter><optional>$limit =
&null;</optional></parameter>
+ </paramdef>
+ <paramdef>
+ integer <parameter><optional>$page = 0</optional></parameter>
+ </paramdef>
+ <paramdef>
+ string <parameter><optional>$renderer =
DATAGRID_RENDER_TABLE</optional></parameter>
+ </paramdef>
+ </funcprototype>
+ </funcsynopsis>
+ </refsynopsisdiv>
+
<refsect1 id="package.structures.structures_datagrid.structures_datagrid.desc">
- &title.desc;
- <para>
- The main &class.structures_datagrid; class is the parent class to both the
- core functionality as well as the rendering functionality.
- </para>
+ &title.desc;
+ <para>
+ The constructor accepts 3 parameters all of which are optional and helps to
+ determine which type of grid you would like to use.
+ </para>
</refsect1>
+ <refsect1
id="package.structures.structures_datagrid.structures_datagrid.parameter">
+ &title.param;
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <parameter>integer $limit</parameter> - An integer that
+ determines how many records to show per page.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>integer $page</parameter> - An integer that determines
+ which page to display.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>string $renderer</parameter> - A string that determines
+ which renderer to use. Must be one of the defined constants.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </refsect1>
</refentry>