cvs: peardoc /en/package/structures/structures-datagrid/structures-datagrid-column structures-datagrid-column.xml

From: Date: Thu, 30 Sep 2004 21:46:17 +0000
Subject: cvs: peardoc /en/package/structures/structures-datagrid/structures-datagrid-column structures-datagrid-column.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-4916@lists.php.net to get a copy of this message
asnagy Thu Sep 30 17:46:17 2004 EDT Added files: /peardoc/en/package/structures/structures-datagrid/structures-datagrid-column structures-datagrid-column.xml Log: Initial checkin http://cvs.php.net/co.php/peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/structures-datagrid-column.xml?r=1.1&p=1 Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/structures-datagrid-column.xml +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/structures-datagrid-column.xml <?xml version="1.0" encoding="iso-8859-1" ?> <!-- $Revision: 1.1 $ --> <refentry id="package.structures.structures_datagrid.structures_datagrid_column"> <refnamediv> <refname><classname>Structures_DataGrid_Column</classname></refname> <refpurpose>Constructor</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Structures/DataGrid/Column.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>Structures_DataGrid_Column</function> </funcdef> <paramdef> string <parameter>$columnName</parameter> </paramdef> <paramdef> string <parameter>$fieldName</parameter> </paramdef> <paramdef> string <parameter><optional>$orderBy = null</optional></parameter> </paramdef> <paramdef> array <parameter><optional>$attribs = array()</optional></parameter> </paramdef> <paramdef> boolean <parameter><optional>$autoFill = false</optional></parameter> </paramdef> <paramdef> string <parameter><optional>$autoFillValue = null</optional></parameter> </paramdef> <paramdef> string <parameter><optional>$formatter = null</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.structures.structures_datagrid.structures_datagrid_column.desc"> &title.desc; <para> The constructor accepts 7 parameters that all help build and customize your datagrid column. A column object is "mapped" to a field in your dataset. </para> </refsect1> <refsect1 id="package.structures.structures_datagrid.structures_datagrid_column.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $columnName</parameter> - The name of the column to be printed. </para> </listitem> <listitem> <para> <parameter>string $fieldName</parameter> - The name of the field for the column to be mapped to. </para> </listitem> <listitem> <para> <parameter>string $orderBy</parameter> - The field to determine which to order the column by. </para> </listitem> <listitem> <para> <parameter>array $attribs</parameter> - An associative array of attributes to be used for the column. </para> <note> Currently this is only used for the HTML Table renderer. </note> </listitem> <listitem> <para> <parameter>boolean $autoFill</parameter> - Used to determine whether or not to fill empty cells with the autoFill value. </para> </listitem> <listitem> <para> <parameter>string $autoFillValue</parameter> - The value to be printed if autoFill is enabled </para> </listitem> <listitem> <para> <parameter>string $formatter</parameter> - The function to be called to allow for custom cell printing. See the section on "Using the Formatter". </para> </listitem> </itemizedlist> </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-executeMultiple-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 -->

« previous php.pear.doc (#4916) next »