cvs: peardoc /en/package/structures/structures-datagrid structures-datagrid.xml
| From: | Andrew Nagy | Date: | Thu, 30 Sep 2004 21:45:45 +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-4915@lists.php.net to get a copy of this message | ||
asnagy Thu Sep 30 17:45:45 2004 EDT
Modified files:
/peardoc/en/package/structures/structures-datagrid
structures-datagrid.xml
Log:
Moved file into subdirector structures-datagrid.
Changed this file to be an overview of the structures_datagrid class
http://cvs.php.net/diff.php/peardoc/en/package/structures/structures-datagrid/structures-datagrid.xml?r1=1.2&r2=1.3&ty=u
Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid.xml
diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid.xml:1.2
peardoc/en/package/structures/structures-datagrid/structures-datagrid.xml:1.3
--- peardoc/en/package/structures/structures-datagrid/structures-datagrid.xml:1.2 Wed Sep 29
10:59:23 2004
+++ peardoc/en/package/structures/structures-datagrid/structures-datagrid.xml Thu Sep 30 17:45:44
2004
@@ -1,67 +1,20 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id="package.structures.structures_datagrid.structures_datagrid">
- <refnamediv>
+ <refnamediv>
<refname><classname>Structures_DataGrid</classname></refname>
- <refpurpose>Constructor</refpurpose>
+ <refpurpose>Core class</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 constructor accepts 3 parameters all of which are optional and helps to
- determine which type of grid you would like to use.
- </para>
+ &title.desc;
+ <para>
+ The core &class.structures_datagrid; class is the parent class to both the
+ sorting and paging functionality as well as the rendering functionality and
+ also the column and record management.
+ </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>
<!-- Keep this comment at the end of the file