cvs: peardoc /en/package/structures structures-datagrid.xml /en/package/structures/structures-datagrid/structures-datagrid-column getattributes.xml
getautofillvalue.xml getfield.xml getlabel.xml getorderby.xml setattributes.xml setautofillvalue.xml setfield.xml setformatter.xml setlabel.xml
setorderby.xml structures-datagrid-column.xml

From: Date: Sat, 01 Jul 2006 21:30:17 +0000
Subject: cvs: peardoc /en/package/structures structures-datagrid.xml /en/package/structures/structures-datagrid/structures-datagrid-column getattributes.xml
getautofillvalue.xml getfield.xml getlabel.xml getorderby.xml setattributes.xml setautofillvalue.xml setfield.xml setformatter.xml setlabel.xml
setorderby.xml structures-datagrid-column.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-8118@lists.php.net to get a copy of this message
olivierg Sat Jul 1 21:30:17 2006 UTC Added files: /peardoc/en/package/structures/structures-datagrid/structures-datagrid-column getattributes.xml getautofillvalue.xml getfield.xml getlabel.xml getorderby.xml setattributes.xml setfield.xml setlabel.xml setorderby.xml Modified files: /peardoc/en/package/structures structures-datagrid.xml /peardoc/en/package/structures/structures-datagrid/structures-datagrid-column setautofillvalue.xml setformatter.xml structures-datagrid-column.xml Log: added Structures_DataGrid_Column getters and setters

http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid.xml?r1=1.30&r2=1.31&diff_format=u Index: peardoc/en/package/structures/structures-datagrid.xml diff -u peardoc/en/package/structures/structures-datagrid.xml:1.30 peardoc/en/package/structures/structures-datagrid.xml:1.31 --- peardoc/en/package/structures/structures-datagrid.xml:1.30 Thu Jun 29 22:04:28 2006 +++ peardoc/en/package/structures/structures-datagrid.xml Sat Jul 1 21:30:17 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.30 $ --> +<!-- $Revision: 1.31 $ --> <sect1 id="package.structures.structures-datagrid"> <title>Structures_DataGrid</title> <!-- @@ -85,8 +85,17 @@ <title>Class Structures_DataGrid_Column</title> <!-- Column Documentation --> &package.structures.structures-datagrid.structures-datagrid-column.structures-datagrid-column; +&package.structures.structures-datagrid.structures-datagrid-column.getattributes; +&package.structures.structures-datagrid.structures-datagrid-column.getautofillvalue; +&package.structures.structures-datagrid.structures-datagrid-column.getfield; +&package.structures.structures-datagrid.structures-datagrid-column.getlabel; +&package.structures.structures-datagrid.structures-datagrid-column.getorderby; +&package.structures.structures-datagrid.structures-datagrid-column.setattributes; &package.structures.structures-datagrid.structures-datagrid-column.setautofillvalue; +&package.structures.structures-datagrid.structures-datagrid-column.setfield; &package.structures.structures-datagrid.structures-datagrid-column.setformatter; +&package.structures.structures-datagrid.structures-datagrid-column.setlabel; +&package.structures.structures-datagrid.structures-datagrid-column.setorderby; </sect2> <!-- &package.structures.structures-datagrid.structures-datagrid-column.setAutoFillValue; http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setautofillvalue.xml?r1=1.8&r2=1.9&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setautofillvalue.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setautofillvalue.xml:1.8 peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setautofillvalue.xml:1.9 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setautofillvalue.xml:1.8 Thu Jun 29 16:43:36 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setautofillvalue.xml Sat Jul 1 21:30:17 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid-column.setautofillvalue"> <refnamediv> <refname><function>Structures_DataGrid_Column::setAutoFillValue</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setformatter.xml?r1=1.8&r2=1.9&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setformatter.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setformatter.xml:1.8 peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setformatter.xml:1.9 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setformatter.xml:1.8 Thu Jun 29 16:43:36 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setformatter.xml Sat Jul 1 21:30:17 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid-column.setformatter"> <refnamediv> <refname><function>Structures_DataGrid_Column::setFormatter</function></refname> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/structures-datagrid-column.xml?r1=1.13&r2=1.14&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/structures-datagrid-column.xml diff -u peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/structures-datagrid-column.xml:1.13 peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/structures-datagrid-column.xml:1.14 --- peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/structures-datagrid-column.xml:1.13 Thu Jun 29 16:43:36 2006 +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/structures-datagrid-column.xml Sat Jul 1 21:30:17 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.13 $ --> +<!-- $Revision: 1.14 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid-column.structures-datagrid-column"> <refnamediv> <refname>constructor <function>Structures_DataGrid_Column::Structures_DataGrid_Column</function></refname> @@ -11,10 +11,10 @@ </funcsynopsisinfo> <funcprototype> <funcdef>void constructor <function>Structures_DataGrid_Column::Structures_DataGrid_Column</function></funcdef> - <paramdef>string <parameter>$columnName</parameter></paramdef> - <paramdef>string <parameter> <optional>$fieldName = &null;</optional></parameter></paramdef> + <paramdef>string <parameter>$label</parameter></paramdef> + <paramdef>string <parameter> <optional>$field = &null;</optional></parameter></paramdef> <paramdef>string <parameter> <optional>$orderBy = &null;</optional></parameter></paramdef> - <paramdef>string <parameter> <optional>$attribs = array()</optional></parameter></paramdef> + <paramdef>string <parameter> <optional>$attributes = array()</optional></parameter></paramdef> <paramdef>string <parameter> <optional>$autoFillValue = &null;</optional></parameter></paramdef> <paramdef>mixed <parameter> <optional>$formatter = &null;</optional></parameter></paramdef> <paramdef>array <parameter> <optional>$formatterArgs = array()</optional></parameter></paramdef> @@ -36,11 +36,11 @@ &type.string; - <parameter>$columnName</parameter> + <parameter>$label</parameter> </term> <listitem> <para> - The name of the column to be printed + The label of the column to be printed </para> </listitem> </varlistentry> @@ -51,7 +51,7 @@ &type.string; - <parameter>$fieldName</parameter> + <parameter>$field</parameter> </term> <listitem> <para> @@ -71,7 +71,7 @@ </term> <listitem> <para> - The field to order the data by + The field or expression to order the data by </para> </listitem> </varlistentry> @@ -82,7 +82,7 @@ &type.string; - <parameter>$attribs</parameter> + <parameter>$attributes</parameter> </term> <listitem> <para> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/getattributes.xml?view=markup&rev=1.1 Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/getattributes.xml +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/getattributes.xml <!-- $Revision: 1.1 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid-column.getattributes"> <refnamediv> <refname><function>Structures_DataGrid_Column::getAttributes</function></refname> <refpurpose>Get the column XML/HTML attributes</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once &apos;Structures/DataGrid/Column.php&apos;; </funcsynopsisinfo> <funcprototype> <funcdef>array <function>Structures_DataGrid_Column::getAttributes</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.structures.structures-datagrid.structures-datagrid-column.getattributes.desc"> &title.desc; <para>Return the attributes applied to all cells in this column. This only makes sense for HTML or XML rendering</para> </refsect1> <refsect1 id="package.structures.structures-datagrid.structures-datagrid-column.getattributes.returns"> &title.returns; <para> <emphasis>returns</emphasis> Attributes ; form: array(name =&gt; value, ...) </para> </refsect1> <refsect1 id="package.structures.structures-datagrid.structures-datagrid-column.getattributes.throws"> &title.throws; <para> <emphasis>throws</emphasis> no exceptions thrown </para> </refsect1> <refsect1 id="package.structures.structures-datagrid.structures-datagrid-column.getattributes.note"> &title.note; &note.notstatic; </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 --> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/getautofillvalue.xml?view=markup&rev=1.1 Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/getautofillvalue.xml +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/getautofillvalue.xml <!-- $Revision: 1.1 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid-column.getautofillvalue"> <refnamediv> <refname><function>Structures_DataGrid_Column::getAutoFillValue</function></refname> <refpurpose>Get auto fill value</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once &apos;Structures/DataGrid/Column.php&apos;; </funcsynopsisinfo> <funcprototype> <funcdef>string <function>Structures_DataGrid_Column::getAutoFillValue</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.structures.structures-datagrid.structures-datagrid-column.getautofillvalue.desc"> &title.desc; <para>Returns the value to be printed if a cell in the column is null.</para> </refsect1> <refsect1 id="package.structures.structures-datagrid.structures-datagrid-column.getautofillvalue.throws"> &title.throws; <para> <emphasis>throws</emphasis> no exceptions thrown </para> </refsect1> <refsect1 id="package.structures.structures-datagrid.structures-datagrid-column.getautofillvalue.note"> &title.note; &note.notstatic; </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 --> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/getfield.xml?view=markup&rev=1.1 Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/getfield.xml +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/getfield.xml <!-- $Revision: 1.1 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid-column.getfield"> <refnamediv> <refname><function>Structures_DataGrid_Column::getField</function></refname> <refpurpose>Get name of the field for the column to be mapped to</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once &apos;Structures/DataGrid/Column.php&apos;; </funcsynopsisinfo> <funcprototype> <funcdef>string <function>Structures_DataGrid_Column::getField</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.structures.structures-datagrid.structures-datagrid-column.getfield.desc"> &title.desc; <para>Returns the name of the field for the column to be mapped to</para> </refsect1> <refsect1 id="package.structures.structures-datagrid.structures-datagrid-column.getfield.throws"> &title.throws; <para> <emphasis>throws</emphasis> no exceptions thrown </para> </refsect1> <refsect1 id="package.structures.structures-datagrid.structures-datagrid-column.getfield.note"> &title.note; &note.notstatic; </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 --> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/getlabel.xml?view=markup&rev=1.1 Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/getlabel.xml +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/getlabel.xml <!-- $Revision: 1.1 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid-column.getlabel"> <refnamediv> <refname><function>Structures_DataGrid_Column::getLabel</function></refname> <refpurpose>Get column label</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once &apos;Structures/DataGrid/Column.php&apos;; </funcsynopsisinfo> <funcprototype> <funcdef>string <function>Structures_DataGrid_Column::getLabel</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.structures.structures-datagrid.structures-datagrid-column.getlabel.desc"> &title.desc; <para>The label is the text rendered into the column header.</para> </refsect1> <refsect1 id="package.structures.structures-datagrid.structures-datagrid-column.getlabel.throws"> &title.throws; <para> <emphasis>throws</emphasis> no exceptions thrown </para> </refsect1> <refsect1 id="package.structures.structures-datagrid.structures-datagrid-column.getlabel.note"> &title.note; &note.notstatic; </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 --> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/getorderby.xml?view=markup&rev=1.1 Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/getorderby.xml +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/getorderby.xml <!-- $Revision: 1.1 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid-column.getorderby"> <refnamediv> <refname><function>Structures_DataGrid_Column::getOrderBy</function></refname> <refpurpose>Get the field name or the expression to order the data by</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once &apos;Structures/DataGrid/Column.php&apos;; </funcsynopsisinfo> <funcprototype> <funcdef>string <function>Structures_DataGrid_Column::getOrderBy</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.structures.structures-datagrid.structures-datagrid-column.getorderby.desc"> &title.desc; <para>Returns the name of the field to order the data by. With SQL based datasources, this may be an SQL expression (function, etc..).</para> </refsect1> <refsect1 id="package.structures.structures-datagrid.structures-datagrid-column.getorderby.throws"> &title.throws; <para> <emphasis>throws</emphasis> no exceptions thrown </para> </refsect1> <refsect1 id="package.structures.structures-datagrid.structures-datagrid-column.getorderby.note"> &title.note; &note.notstatic; </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 --> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setattributes.xml?view=markup&rev=1.1 Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setattributes.xml +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setattributes.xml <!-- $Revision: 1.1 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid-column.setattributes"> <refnamediv> <refname><function>Structures_DataGrid_Column::setAttributes</function></refname> <refpurpose>Set the column XML/HTML attributes</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once &apos;Structures/DataGrid/Column.php&apos;; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>Structures_DataGrid_Column::setAttributes</function></funcdef> <paramdef>array <parameter>$attributes</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.structures.structures-datagrid.structures-datagrid-column.setattributes.desc"> &title.desc; <para>Set the attributes to be applied to all cells in this column. This only makes sense for HTML or XML rendering</para> </refsect1> <refsect1 id="package.structures.structures-datagrid.structures-datagrid-column.setattributes.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.array; <parameter>$attributes</parameter> </term> <listitem> <para> form: array(name =&gt; value, ...) </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.structures.structures-datagrid.structures-datagrid-column.setattributes.throws"> &title.throws; <para> <emphasis>throws</emphasis> no exceptions thrown </para> </refsect1> <refsect1 id="package.structures.structures-datagrid.structures-datagrid-column.setattributes.note"> &title.note; &note.notstatic; </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 --> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setfield.xml?view=markup&rev=1.1 Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setfield.xml +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setfield.xml <!-- $Revision: 1.1 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid-column.setfield"> <refnamediv> <refname><function>Structures_DataGrid_Column::setField</function></refname> <refpurpose>Set name of the field for the column to be mapped to</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once &apos;Structures/DataGrid/Column.php&apos;; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>Structures_DataGrid_Column::setField</function></funcdef> <paramdef>string <parameter>$str</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.structures.structures-datagrid.structures-datagrid-column.setfield.desc"> &title.desc; <para>Defines the name of the field for the column to be mapped to</para> </refsect1> <refsect1 id="package.structures.structures-datagrid.structures-datagrid-column.setfield.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$str</parameter> </term> <listitem> <para> The name of the field for the column to be mapped to </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.structures.structures-datagrid.structures-datagrid-column.setfield.throws"> &title.throws; <para> <emphasis>throws</emphasis> no exceptions thrown </para> </refsect1> <refsect1 id="package.structures.structures-datagrid.structures-datagrid-column.setfield.note"> &title.note; &note.notstatic; </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 --> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setlabel.xml?view=markup&rev=1.1 Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setlabel.xml +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setlabel.xml <!-- $Revision: 1.1 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid-column.setlabel"> <refnamediv> <refname><function>Structures_DataGrid_Column::setLabel</function></refname> <refpurpose>Set column label</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once &apos;Structures/DataGrid/Column.php&apos;; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>Structures_DataGrid_Column::setLabel</function></funcdef> <paramdef>string <parameter>$str</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.structures.structures-datagrid.structures-datagrid-column.setlabel.desc"> &title.desc; <para>The label is the text rendered into the column header.</para> </refsect1> <refsect1 id="package.structures.structures-datagrid.structures-datagrid-column.setlabel.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$str</parameter> </term> <listitem> <para> Column label </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.structures.structures-datagrid.structures-datagrid-column.setlabel.throws"> &title.throws; <para> <emphasis>throws</emphasis> no exceptions thrown </para> </refsect1> <refsect1 id="package.structures.structures-datagrid.structures-datagrid-column.setlabel.note"> &title.note; &note.notstatic; </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 --> http://cvs.php.net/viewvc.cgi/peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setorderby.xml?view=markup&rev=1.1 Index: peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setorderby.xml +++ peardoc/en/package/structures/structures-datagrid/structures-datagrid-column/setorderby.xml <!-- $Revision: 1.1 $ --> <refentry id="package.structures.structures-datagrid.structures-datagrid-column.setorderby"> <refnamediv> <refname><function>Structures_DataGrid_Column::setOrderBy</function></refname> <refpurpose>Set the field name or the expression to order the data by</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once &apos;Structures/DataGrid/Column.php&apos;; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>Structures_DataGrid_Column::setOrderBy</function></funcdef> <paramdef>string <parameter>$str</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.structures.structures-datagrid.structures-datagrid-column.setorderby.desc"> &title.desc; <para>Set the name of the field to order the data by. With SQL based datasources, this may be an SQL expression (function, etc..).</para> </refsect1> <refsect1 id="package.structures.structures-datagrid.structures-datagrid-column.setorderby.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$str</parameter> </term> <listitem> <para> field name or expression </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.structures.structures-datagrid.structures-datagrid-column.setorderby.throws"> &title.throws; <para> <emphasis>throws</emphasis> no exceptions thrown </para> </refsect1> <refsect1 id="package.structures.structures-datagrid.structures-datagrid-column.setorderby.note"> &title.note; &note.notstatic; </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 -->
« previous php.pear.doc (#8118) next »