cvs: peardoc /peardoc2/en/package/html html-table.xml /peardoc2/en/package/html/html-table/html-table addcol.xml addrow.xml altrowattributes.xml
apiversion.xml getautofill.xml getautogrow.xml getcellattributes.xml getcellcontents.xml getcolcount.xml getrowattributes.xml getrowcount.xml
html-table.xml setallattributes.xml setautofill.xml setautogrow.xml setcaption.xml setcellattributes.xml setcellcontents.xml setcolattributes.xml
setcolcount.xml setcoltype.xml setheadercontents.xml setrowattributes.xml setrowcount.xml setrowtype.xml tohtml.xml updateallattributes.xml
updatecellattributes.xml updatecolattributes.xml updaterowattributes.xml

From: Date: Tue, 29 Oct 2002 03:46:43 +0000
Subject: cvs: peardoc /peardoc2/en/package/html html-table.xml /peardoc2/en/package/html/html-table/html-table addcol.xml addrow.xml altrowattributes.xml
apiversion.xml getautofill.xml getautogrow.xml getcellattributes.xml getcellcontents.xml getcolcount.xml getrowattributes.xml getrowcount.xml
html-table.xml setallattributes.xml setautofill.xml setautogrow.xml setcaption.xml setcellattributes.xml setcellcontents.xml setcolattributes.xml
setcolcount.xml setcoltype.xml setheadercontents.xml setrowattributes.xml setrowcount.xml setrowtype.xml tohtml.xml updateallattributes.xml
updatecellattributes.xml updatecolattributes.xml updaterowattributes.xml
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-7227@lists.php.net to get a copy of this message
alexmerz Mon Oct 28 22:46:43 2002 EDT Added files: /peardoc/peardoc2/en/package/html html-table.xml /peardoc/peardoc2/en/package/html/html-table/html-table addcol.xml addrow.xml altrowattributes.xml apiversion.xml getautofill.xml getautogrow.xml getcellattributes.xml getcellcontents.xml getcolcount.xml getrowattributes.xml getrowcount.xml html-table.xml setallattributes.xml setautofill.xml setautogrow.xml setcaption.xml setcellattributes.xml setcellcontents.xml setcolattributes.xml setcolcount.xml setcoltype.xml setheadercontents.xml setrowattributes.xml setrowcount.xml setrowtype.xml tohtml.xml updateallattributes.xml updatecellattributes.xml updatecolattributes.xml updaterowattributes.xml Log: add manual entry for html_table

Index: peardoc/peardoc2/en/package/html/html-table.xml +++ peardoc/peardoc2/en/package/html/html-table.xml <!-- $Revision: 1.1 $ --> <sect1 id="package.html.html-table"> <title>HTML_Table</title> <para> API to create HTML tables </para> <para> </para> &package.html.html-table.intro; &package.html.html-table.html-table.html-table; &package.html.html-table.html-table.addcol; &package.html.html-table.html-table.addrow; &package.html.html-table.html-table.altrowattributes; &package.html.html-table.html-table.apiversion; &package.html.html-table.html-table.getautofill; &package.html.html-table.html-table.getautogrow; &package.html.html-table.html-table.getcellattributes; &package.html.html-table.html-table.getcellcontents; &package.html.html-table.html-table.getcolcount; &package.html.html-table.html-table.getrowattributes; &package.html.html-table.html-table.getrowcount; &package.html.html-table.html-table.setallattributes; &package.html.html-table.html-table.setautogrow; &package.html.html-table.html-table.setautofill; &package.html.html-table.html-table.setcaption; &package.html.html-table.html-table.setcellattributes; &package.html.html-table.html-table.setcellcontents; &package.html.html-table.html-table.setcolattributes; &package.html.html-table.html-table.setcolcount; &package.html.html-table.html-table.setcoltype; &package.html.html-table.html-table.setheadercontents; &package.html.html-table.html-table.setrowcount; &package.html.html-table.html-table.setrowtype; &package.html.html-table.html-table.setrowattributes; &package.html.html-table.html-table.tohtml; &package.html.html-table.html-table.updateallattributes; &package.html.html-table.html-table.updatecellattributes; &package.html.html-table.html-table.updatecolattributes; &package.html.html-table.html-table.updaterowattributes; </sect1> <!-- 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 --> Index: peardoc/peardoc2/en/package/html/html-table/html-table/addcol.xml +++ peardoc/peardoc2/en/package/html/html-table/html-table/addcol.xml <!-- $Revision: 1.1 $ --> <refentry id="package.html.html-table.html-table.addcol"> <refnamediv> <refname>HTML_Table::addCol</refname> <refpurpose>Add column</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML/Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>int <function>HTML_Table::addCol</function></funcdef> <paramdef> array <parameter><optional>$contents=null</optional></parameter> </paramdef> <paramdef> mixed <parameter><optional>$attributes=null</optional></parameter> </paramdef> <paramdef> string <parameter><optional>$type='TD'</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.addcol.desc"> &title.desc; <para> Adds a table column and returns the column identifier </para> </refsect1> <refsect1 id="package.html.html-table.html-table.addcol.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>array $contents</parameter> - Must be an indexed array of valid cell contents. </para> </listitem> <listitem> <para> <parameter>mixed $attributes</parameter> - Associative array or string of table row attributes </para> </listitem> <listitem> <para> <parameter>string $type</parameter> - Cell type either <parameter>'TH'</parameter> or <parameter>'TD'</parameter> </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.addcol.return"> &title.returns; <para> <parameter>int</parameter> - the identifier for the column </para> </refsect1> <refsect1 id="packages.html.html-table.html-table.addcol.note"> &title.note; &note.notstatic; </refsect1> <refsect1 id="packages.html.html-table.html-table.addcol.see"> &title.see; <!-- Additional links go here --> <para> <link linkend="package.html.html-table.html-table.addrow"> <function>HTML_Table::addRow</function> </link> </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-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 --> Index: peardoc/peardoc2/en/package/html/html-table/html-table/addrow.xml +++ peardoc/peardoc2/en/package/html/html-table/html-table/addrow.xml <!-- $Revision: 1.1 $ --> <refentry id="package.html.html-table.html-table.addrow"> <refnamediv> <refname>HTML_Table::addRow</refname> <refpurpose>Add row</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML/Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>int <function>HTML_Table::addRow</function></funcdef> <paramdef> array <parameter><optional>$contents=null</optional></parameter> </paramdef> <paramdef> mixed <parameter><optional>$attributes=null</optional></parameter> </paramdef> <paramdef> string <parameter><optional>$type='TD'</optional></parameter> </paramdef> <paramdef> boolean <parameter><optional>$inTR=false</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.addrow.desc"> &title.desc; <para> Adds a table row and returns the row identifier </para> </refsect1> <refsect1 id="package.html.html-table.html-table.addrow.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>array $contents</parameter> - Must be an indexed array of valid cell contents </para> </listitem> <listitem> <para> <parameter>mixed $attributes</parameter> - Associative array or string of table row attributes. This can also be an array of attributes, in which case the attributes will be repeated in a loop. </para> </listitem> <listitem> <para> <parameter>string $type</parameter> - Cell type either <parameter>'TH'</parameter> or <parameter>'TD'</parameter> </para> </listitem> <listitem> <para> <parameter>boolean $inTR</parameter> - <constant>false</constant>, if attributes are to be applied in <parameter>TD</parameter> tags; <constant>true</constant>, if attributes are to be applied in <parameter>TR</parameter> tag </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.addrow.return"> &title.returns; <para> <parameter>int</parameter> - the row identifier </para> </refsect1> <refsect1 id="package.html.html-table.html-table.addrow.note"> &title.note; &note.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.addrow.see"> &title.see; <!-- Additional links go here --> <para> <link linkend="package.html.html-table.html-table.addcol"> <function>HTML_Table::addCol</function> </link> </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-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 --> Index: peardoc/peardoc2/en/package/html/html-table/html-table/altrowattributes.xml +++ peardoc/peardoc2/en/package/html/html-table/html-table/altrowattributes.xml <!-- $Revision: 1.1 $ --> <refentry id="package.html.html-table.html-table.altrowattributes"> <refnamediv> <refname>HTML_Table::altRowAttributes</refname> <refpurpose>Alternate row attributes</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML/Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>HTML_Table::altRowAttributes</function></funcdef> <paramdef> int <parameter>$start</parameter> </paramdef> <paramdef> mixed <parameter>$attributes1</parameter> </paramdef> <paramdef> mixed <parameter>$attributes2</parameter> </paramdef> <paramdef> boolean <parameter><optional>$inTR=false</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.altrowattributes.desc"> &title.desc; <para> Alternates the row attributes starting at <parameter>$start</parameter> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.altrowattributes.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $start</parameter> - Row index of row in which alternating begins </para> </listitem> <listitem> <para> <parameter>mixed $attributes1</parameter> - Associative array or string of table row attributes </para> </listitem> <listitem> <para> <parameter>mixed $attributes2</parameter> - Associative array or string of table row attributes </para> </listitem> <listitem> <para> <parameter>boolean $inTR</parameter> - <constant>false</constant>, if attributes are to be applied in <parameter>TD</parameter> tags; <constant>true</constant>, if attributes are to be applied in <parameter>TR</parameter> tag. </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.altrowattributes.note"> &title.note; &note.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.altrowattributes.see"> &title.see; <!-- Additional links go here --> <para> <link linkend="package.html.html-table.html-table.setallattributes"> <function>HTML_Table::setAllAttributes</function> </link>, <link linkend="package.html.html-table.html-table.updateallattributes"> <function>HTML_Table::updateAllAttributes</function> </link>, <link linkend="package.html.html-table.html-table.setcolattributes"> <function>HTML_Table::setColAttributes</function> </link>, <link linkend="package.html.html-table.html-table.updatecolattributes"> <function>HTML_Table::updateColAttributes</function> </link>, <link linkend="package.html.html-table.html-table.setcellattributes"> <function>HTML_Table::setCellAttributes</function> </link>, <link linkend="package.html.html-table.html-table.updatecellattributes"> <function>HTML_Table::updateCellAttributes</function> </link>, <link linkend="package.html.html-table.html-table.updaterowattributes"> <function>HTML_Table::updateRowAttributes</function> </link>, <link linkend="package.html.html-table.html-table.setrowattributes"> <function>HTML_Table::setRowAttributes</function> </link> </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-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 --> Index: peardoc/peardoc2/en/package/html/html-table/html-table/apiversion.xml +++ peardoc/peardoc2/en/package/html/html-table/html-table/apiversion.xml <!-- $Revision: 1.1 $ --> <refentry id="package.html.html-table.html-table.apiversion"> <refnamediv> <refname>HTML_Table::apiVersion</refname> <refpurpose>Return API version</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML_Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>double <function>HTML_Table::apiVersion</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.apiversion.desc"> &title.desc; <para> Returns the API version of <classname>HTML_Table</classname> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.apiversion.return"> &title.returns; <para> <parameter>double</parameter> - the version number </para> </refsect1> <refsect1 id="package.html.html-table.html-table.apiversion.note"> &title.note; &note.notstatic; <simpara></simpara> </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 --> Index: peardoc/peardoc2/en/package/html/html-table/html-table/getautofill.xml +++ peardoc/peardoc2/en/package/html/html-table/html-table/getautofill.xml <!-- $Revision: 1.1 $ --> <refentry id="package.html.html-table.html-table.getautofill"> <refnamediv> <refname>HTML_Table::getAutoFill</refname> <refpurpose>Return autoFill value</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML/Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>mixed <function>HTML_Table::getAutoFill</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.getautofill.desc"> &title.desc; <para> Returns the autoFill value </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getautofill.return"> &title.returns; <para> <parameter>mixed</parameter> - the value, which will be inserted into empty cells </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getautofill.note"> &title.note; &note.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.getautofill.see"> &title.see; <!-- Additional links go here --> <para> <link linkend="package.html.html-table.html-table.setautofill"> <function>HTML_Table::setAutoFill</function> </link> </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-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 --> Index: peardoc/peardoc2/en/package/html/html-table/html-table/getautogrow.xml +++ peardoc/peardoc2/en/package/html/html-table/html-table/getautogrow.xml <!-- $Revision: 1.1 $ --> <refentry id="package.html.html-table.html-table.getautogrow"> <refnamediv> <refname>HTML_Table::getAutoGrow</refname> <refpurpose>Return autoGrow flag</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML/Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>boolean <function>HTML_Table::getAutoGrow</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.getautogrow.desc"> &title.desc; <para> Returns the value of the <parameter>autoGrow</parameter> flag. If a value into an cell, which not exists, <classname>HTML_Table</classname> will automaticlly add a neccessary row or column, if the flag is <parameter>true</parameter>. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getautogrow.return"> &title.returns; <para> <parameter>boolean</parameter> - the flag state </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getautogrow.note"> &title.note; &note.notstatic; <simpara></simpara> </refsect1> <refsect1 id="package.html.html-table.html-table.getautogrow.see"> &title.see; <!-- Additional links go here --> <para> <link linkend="package.html.html-table.html-table.setautogrow"> <function>HTML_Table::setAutoGrow</function> </link> </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-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 --> Index: peardoc/peardoc2/en/package/html/html-table/html-table/getcellattributes.xml +++ peardoc/peardoc2/en/package/html/html-table/html-table/getcellattributes.xml <!-- $Revision: 1.1 $ --> <refentry id="package.html.html-table.html-table.getcellattributes"> <refnamediv> <refname>HTML_Table::getCellAttributes</refname> <refpurpose>Return cell attributes</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML/Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>array <function>HTML_Table::getCellAttributes</function></funcdef> <paramdef> int <parameter>$row</parameter> </paramdef> <paramdef> int <parameter>$col</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.getcellattributes.desc"> &title.desc; <para> Returns the attributes for a given cell </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getcellattributes.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $row</parameter> - Row index </para> </listitem> <listitem> <para> <parameter>int $col</parameter> - Column index </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getcellattributes.return"> &title.returns; <para> <parameter>array</parameter> - the attributes of the specific cell </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getcellattributes.note"> &title.note; &note.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.getcellattributes.see"> &title.see; <!-- Additional links go here --> <para> <link linkend="package.html.html-table.html-table.getrowattributes"> <function>HTML_Table::getRowAttributes</function> </link> </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-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 --> Index: peardoc/peardoc2/en/package/html/html-table/html-table/getcellcontents.xml +++ peardoc/peardoc2/en/package/html/html-table/html-table/getcellcontents.xml <!-- $Revision: 1.1 $ --> <refentry id="package.html.html-table.html-table.getcellcontents"> <refnamediv> <refname>HTML_Table::getCellContents</refname> <refpurpose>Return cell content</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML/Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>mixed <function>HTML_Table::getCellContents</function></funcdef> <paramdef> int <parameter>$row</parameter> </paramdef> <paramdef> int <parameter>$col</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.getcellcontents.desc"> &title.desc; <para> Returns the cell contents for an existing cell </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getcellcontents.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $row</parameter> - Row index </para> </listitem> <listitem> <para> <parameter>int $col</parameter> - Column index </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getcellcontents.return"> &title.returns; <para> <parameter>mixed</parameter> - the content of the specified cell </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getcellcontents.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 --> Index: peardoc/peardoc2/en/package/html/html-table/html-table/getcolcount.xml +++ peardoc/peardoc2/en/package/html/html-table/html-table/getcolcount.xml <!-- $Revision: 1.1 $ --> <refentry id="package.html.html-table.html-table.getcolcount"> <refnamediv> <refname>HTML_Table::getColCount</refname> <refpurpose>Return numbers of column</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML/Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>int <function>HTML_Table::getColCount</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.getcolcount.desc"> &title.desc; <para> Returns the number of columns in the table </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getcolcount.return"> &title.returns; <para> <parameter>int</parameter> - number of columns </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getcolcount.note"> &title.note; &note.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.getcolcount.see"> &title.see; <!-- Additional links go here --> <para> <link linkend="package.html.html-table.html-table.getrowcount"> <function>HTML_Table::getRowCount</function> </link> </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-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 --> Index: peardoc/peardoc2/en/package/html/html-table/html-table/getrowattributes.xml +++ peardoc/peardoc2/en/package/html/html-table/html-table/getrowattributes.xml <!-- $Revision: 1.1 $ --> <refentry id="package.html.html-table.html-table.getrowattributes"> <refnamediv> <refname>HTML_Table::getRowAttributes</refname> <refpurpose>Return row attributes</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML/Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>array <function>HTML_Table::getRowAttributes</function></funcdef> <paramdef> int <parameter>$row</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.getrowattributes.desc"> &title.desc; <para> Returns the attributes for a given row as contained in the <parameter>TR</parameter> tag </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getrowattributes.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $row</parameter> - Row index </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getrowattributes.return"> &title.returns; <para> <parameter>array</parameter> - the attributes of the row </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getrowattributes.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 --> Index: peardoc/peardoc2/en/package/html/html-table/html-table/getrowcount.xml +++ peardoc/peardoc2/en/package/html/html-table/html-table/getrowcount.xml <!-- $Revision: 1.1 $ --> <refentry id="package.html.html-table.html-table.getrowcount"> <refnamediv> <refname>HTML_Table::getRowCount</refname> <refpurpose>Return number of rows</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML/Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>int <function>HTML_Table::getRowCount</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.getrowcount.desc"> &title.desc; <para> Returns the number of rows in the table </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getrowcount.return"> &title.returns; <para> <parameter>int</parameter> - number of rows </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getrowcount.note"> &title.note; &note.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.getrowcount.see"> &title.see; <!-- Additional links go here --> <para> <link linkend="package.html.html-table.html-table.getcolcount"> <function>HTML_Table::getColCount</function> </link> </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-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 --> Index: peardoc/peardoc2/en/package/html/html-table/html-table/html-table.xml +++ peardoc/peardoc2/en/package/html/html-table/html-table/html-table.xml <!-- $Revision: 1.1 $ --> <refentry id="package.html.html-table.html-table.html-table"> <refnamediv> <refname>HTML_Table::HTML_Table</refname> <refpurpose>Constructor</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML/Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>HTML_Table::HTML_Table</function></funcdef> <paramdef> array <parameter><optional>$attributes=null</optional></parameter> </paramdef> <paramdef> integer <parameter><optional>$tabOffset=0</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.html-table.desc"> &title.desc; <para> Class constructor </para> </refsect1> <refsect1 id="package.html.html-table.html-table.html-table.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>array $attributes</parameter> - Associative array of table tag attributes </para> </listitem> <listitem> <para> <parameter>integer $tabOffset</parameter> - unused </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.html-table.note"> &title.note; &note.canstatic; </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 --> Index: peardoc/peardoc2/en/package/html/html-table/html-table/setallattributes.xml +++ peardoc/peardoc2/en/package/html/html-table/html-table/setallattributes.xml <!-- $Revision: 1.1 $ --> <refentry id="package.html.html-table.html-table.setallattributes"> <refnamediv> <refname>HTML_Table::setAllAttributes</refname> <refpurpose>Set attributes for all cells</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML_Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>HTML_Table::setAllAttributes</function></funcdef> <paramdef> mixed <parameter><optional>$attributes=null</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.setallattributes.desc"> &title.desc; <para> Sets the attributes for all cells </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setallattributes.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>mixed $attributes</parameter> - Associative array or string of table row attributes </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setallattributes.note"> &title.note; &note.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.setallattributes.see"> &title.see; <!-- Additional links go here --> <para> <link linkend="package.html.html-table.html-table.updateallattributes"> <function>HTML_Table::updateAllAttributes</function> </link>, <link linkend="package.html.html-table.html-table.setcolattributes"> <function>HTML_Table::setColAttributes</function> </link>, <link linkend="package.html.html-table.html-table.setcellattributes"> <function>HTML_Table::setCellAttributes</function> </link>, <link linkend="package.html.html-table.html-table.setrowattributes"> <function>HTML_Table::setRowAttributes</function> </link> </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-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 --> Index: peardoc/peardoc2/en/package/html/html-table/html-table/setautofill.xml +++ peardoc/peardoc2/en/package/html/html-table/html-table/setautofill.xml <!-- $Revision: 1.1 $ --> <refentry id="package.html.html-table.html-table.setautofill"> <refnamediv> <refname>HTML_Table::setAutoFill</refname> <refpurpose>Set autoFill value</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML/Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>HTML_Table::setAutoFill</function></funcdef> <paramdef> mixed <parameter>$fill</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.setautofill.desc"> &title.desc; <para> The <parameter>autoFill</parameter> value will be insert into every cell not filled. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setautofill.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>mixed $fill</parameter> - standard value for empty cells </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setautofill.note"> &title.note; &note.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.setautofill.see"> &title.see; <!-- Additional links go here --> <para> <link linkend="package.html.html-table.html-table.getautofill"> <function>HTML_Table::getAutoFill</function> </link> </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-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 --> Index: peardoc/peardoc2/en/package/html/html-table/html-table/setautogrow.xml +++ peardoc/peardoc2/en/package/html/html-table/html-table/setautogrow.xml <!-- $Revision: 1.1 $ --> <refentry id="package.html.html-table.html-table.setautogrow"> <refnamediv> <refname>HTML_Table::setAutoGrow</refname> <refpurpose>Set autoGrow flag</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML/Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>HTML_Table::setAutoGrow</function></funcdef> <paramdef> bool <parameter>$grow</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.setautogrow.desc"> &title.desc; <para> If this flag is set to true, <classname>HTML_Table</classname> will automatically add new rows or columns, when you insert a value into a non-existing cell. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setautogrow.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>bool $grow</parameter> - <constant>true</constant> for automaticall grow </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setautogrow.note"> &title.note; &note.notstatic; <simpara></simpara> </refsect1> <refsect1 id="package.html.html-table.html-table.setautogrow.see"> &title.see; <!-- Additional links go here --> <para> <link linkend="package.html.html-table.html-table.getautogrow"> <function>HTML_Table::getAutoGrow</function> </link> </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-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 --> Index: peardoc/peardoc2/en/package/html/html-table/html-table/setcaption.xml +++ peardoc/peardoc2/en/package/html/html-table/html-table/setcaption.xml <!-- $Revision: 1.1 $ --> <refentry id="package.html.html-table.html-table.setcaption"> <refnamediv> <refname>HTML_Table::setCaption</refname> <refpurpose>Set table caption</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML/Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>HTML_Table::setCaption</function></funcdef> <paramdef> string <parameter>$caption</parameter> </paramdef> <paramdef> mixed <parameter><optional>$attributes=null</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.setcaption.desc"> &title.desc; <para> Sets the caption of a table. This does not refer to the <parameter>&lt;th&gt;</parameter>-tag. The <parameter>&lt;caption&gt;</parameter>-tag defines a headline for the whole table. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setcaption.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $caption</parameter> - the caption string </para> </listitem> <listitem> <para> <parameter>mixed $attributes</parameter> - Associative array or string of caption attributes </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setcaption.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 --> Index: peardoc/peardoc2/en/package/html/html-table/html-table/setcellattributes.xml +++ peardoc/peardoc2/en/package/html/html-table/html-table/setcellattributes.xml <!-- $Revision: 1.1 $ --> <refentry id="package.html.html-table.html-table.setcellattributes"> <refnamediv> <refname>HTML_Table::setCellAttributes</refname> <refpurpose>Set cell attributes</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML/Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>HTML_Table::setCellAttributes</function></funcdef> <paramdef> int <parameter>$row</parameter> </paramdef> <paramdef> int <parameter>$col</parameter> </paramdef> <paramdef> mixed <parameter>$attributes</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.setcellattributes.desc"> &title.desc; <para> Sets the cell attributes for an existing cell. If the given indices do not exist and <parameter>autoGrow</parameter> is <constant>true</constant> then the given row and/or column is automatically added. If <parameter>autoGrow</parameter> is <constant>false</constant>, an error is returned. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setcellattributes.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $row</parameter> - Row index </para> </listitem> <listitem> <para> <parameter>int $col</parameter> - Column index </para> </listitem> <listitem> <para> <parameter>mixed $attributes</parameter> - Associative array or string of table cell attributes </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.html.html-table.html-table.setcellattributes.throws"> &title.throws; <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="4"> <thead> <row> <entry>Error code</entry> <entry>Error message</entry> <entry>Meaning</entry> <entry>Solution</entry> </row> </thead> <tbody> <row> <entry></entry> <entry> <quote> Invalid table row reference [<parameter>$row</parameter>] </quote> </entry> <entry>The row <parameter>$row</parameter> does not exists</entry> <entry>Enable the <parameter>autoGrow</parameter> feature</entry> </row> <row> <entry></entry> <entry> <quote> Invalid table column reference [<parameter>$column</parameter>] </quote> </entry> <entry>The column <parameter>$column</parameter> does not exists</entry> <entry>Enable the <parameter>autoGrow</parameter> feature</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setcellattributes.note"> &title.note; &note.notstatic; <simpara></simpara> </refsect1> <refsect1 id="package.html.html-table.html-table.setcellattributes.see"> &title.see; <!-- Additional links go here --> <para> <link linkend="package.html.html-table.html-table.setautogrow"> <function>HTML_Table::setAutoGrow</function> </link> </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-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 --> Index: peardoc/peardoc2/en/package/html/html-table/html-table/setcellcontents.xml +++ peardoc/peardoc2/en/package/html/html-table/html-table/setcellcontents.xml <!-- $Revision: 1.1 $ --> <refentry id="package.html.html-table.html-table.setcellcontents"> <refnamediv> <refname>HTML_Table::setCellContents</refname> <refpurpose>Set cell content</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML/Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>HTML_Table::setCellContents</function></funcdef> <paramdef> int <parameter>$row</parameter> </paramdef> <paramdef> int <parameter>$col</parameter> </paramdef> <paramdef> mixed <parameter>$contents</parameter> </paramdef> <paramdef> string <parameter><optional>$type='TD'</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.setcellcontents.desc"> &title.desc; <para> Sets the cell contents for an existing cell. If the given indices do not exist and <parameter>autoGrow</parameter> is <constant>true</constant> then the given row and/or column is automatically added. If <parameter>autoGrow</parameter> is <constant>false</constant>, then an error is returned. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setcellcontents.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $row</parameter> - Row index </para> </listitem> <listitem> <para> <parameter>int $col</parameter> - Column index </para> </listitem> <listitem> <para> <parameter>mixed $contents</parameter> - May contain HTML or any object with a <function>toHTML</function> method </para> </listitem> <listitem> <para> <parameter>string $type</parameter> - Cell type either <parameter>'TH'</parameter> or <parameter>'TD'</parameter> </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setcellcontents.throws"> &title.throws; <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="4"> <thead> <row> <entry>Error code</entry> <entry>Error message</entry> <entry>Meaning</entry> <entry>Solution</entry> </row> </thead> <tbody> <row> <entry></entry> <entry> <quote> Invalid table row reference [<parameter>$row</parameter>] </quote> </entry> <entry>The row <parameter>$row</parameter> does not exists</entry> <entry>Enable the <parameter>autoGrow</parameter> feature</entry> </row> <row> <entry></entry> <entry> <quote> Invalid table column reference [<parameter>$column</parameter>] </quote> </entry> <entry>The column <parameter>$column</parameter> does not exists</entry> <entry>Enable the <parameter>autoGrow</parameter> feature</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setcellcontents.note"> &title.note; &note.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.setcellcontents.see"> &title.see; <!-- Additional links go here --> <para> <link linkend="package.html.html-table.html-table.setautogrow"> <function>HTML_Table::setAutoGrow</function> </link> </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-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 --> Index: peardoc/peardoc2/en/package/html/html-table/html-table/setcolattributes.xml +++ peardoc/peardoc2/en/package/html/html-table/html-table/setcolattributes.xml <!-- $Revision: 1.1 $ --> <refentry id="package.html.html-table.html-table.setcolattributes"> <refnamediv> <refname>HTML_Table::setColAttributes</refname> <refpurpose>Set column attributes</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML/Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>HTML_Table::setColAttributes</function></funcdef> <paramdef> int <parameter>$col</parameter> </paramdef> <paramdef> mixed <parameter><optional>$attributes=null</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.setcolattributes.desc"> &title.desc; <para> Sets the column attributes for an existing column </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setcolattributes.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $col</parameter> - Column index </para> </listitem> <listitem> <para> <parameter>mixed $attributes</parameter> - Associative array or string of table column attributes </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setcolattributes.note"> &title.note; &note.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.setcolattributes.see"> &title.see; <!-- Additional links go here --> <para> <link linkend="package.html.html-table.html-table.setrowattributes"> <function>HTML_Table::setRowAttributes</function> </link> </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-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 --> Index: peardoc/peardoc2/en/package/html/html-table/html-table/setcolcount.xml +++ peardoc/peardoc2/en/package/html/html-table/html-table/setcolcount.xml <!-- $Revision: 1.1 $ --> <refentry id="package.html.html-table.html-table.setcolcount"> <refnamediv> <refname>HTML_Table::setColCount</refname> <refpurpose>Set number of columns</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML/Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>HTML_Table::setColCount</function></funcdef> <paramdef> int <parameter>$cols</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.setcolcount.desc"> &title.desc; <para> Sets the number of columns in the table </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setcolcount.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $cols</parameter> - number of columns to create </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setcolcount.note"> &title.note; &note.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.setcolcount.see"> &title.see; <!-- Additional links go here --> <para> <link linkend="package.html.html-table.html-table.setrowcount"> <function>HTML_Table::setRowCount</function> </link> </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-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 --> Index: peardoc/peardoc2/en/package/html/html-table/html-table/setcoltype.xml +++ peardoc/peardoc2/en/package/html/html-table/html-table/setcoltype.xml <!-- $Revision: 1.1 $ --> <refentry id="package.html.html-table.html-table.setcoltype"> <refnamediv> <refname>HTML_Table::setColType</refname> <refpurpose>Set column type</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML/Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>HTML_Table::setColType</function></funcdef> <paramdef> int <parameter>$col</parameter> </paramdef> <paramdef> string <parameter>$type</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.setcoltype.desc"> &title.desc; <para> Sets the type of a column to <parameter>'TH'</parameter> or <parameter>'TD'</parameter> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setcoltype.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $col</parameter> - Column index </para> </listitem> <listitem> <para> <parameter>string $type</parameter> - <parameter>TH</parameter> or <parameter>TD</parameter> </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.html.html-table.html-table.setcoltype.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 --> Index: peardoc/peardoc2/en/package/html/html-table/html-table/setheadercontents.xml +++ peardoc/peardoc2/en/package/html/html-table/html-table/setheadercontents.xml <!-- $Revision: 1.1 $ --> <refentry id="package.html.html-table.html-table.setheadercontents"> <refnamediv> <refname>HTML_Table::setHeaderContents</refname> <refpurpose>Set content of header cell</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML/Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>HTML_Table::setHeaderContents</function></funcdef> <paramdef> int <parameter>$row</parameter> </paramdef> <paramdef> int <parameter>$col</parameter> </paramdef> <paramdef> mixed <parameter>$contents</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.setheadercontents.desc"> &title.desc; <para> Defines the given cell as header cell and sets the content </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setheadercontents.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $row</parameter> - row index </para> </listitem> <listitem> <para> <parameter>int $col</parameter> - column index </para> </listitem> <listitem> <para> <parameter>mixed $contents</parameter> - cell content </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setheadercontents.note"> &title.note; &note.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.setheadercontents.see"> &title.see; <!-- Additional links go here --> <para> <link linkend="package.html.html-table.html-table.setcellcontents"> <function>HTML_Table::setCellContent</function> </link> </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-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 --> Index: peardoc/peardoc2/en/package/html/html-table/html-table/setrowattributes.xml +++ peardoc/peardoc2/en/package/html/html-table/html-table/setrowattributes.xml <!-- $Revision: 1.1 $ --> <refentry id="package.html.html-table.html-table.setrowattributes"> <refnamediv> <refname>HTML_Table::setRowAttributes</refname> <refpurpose>Set row attributes</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML/Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>HTML_Table::setRowAttributes</function></funcdef> <paramdef> int <parameter>$row</parameter> </paramdef> <paramdef> mixed <parameter>$attributes</parameter> </paramdef> <paramdef> boolean <parameter><optional>$inTR=false</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.setrowattributes.desc"> &title.desc; <para> Sets the row attributes for an existing row </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setrowattributes.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $row</parameter> - Row index </para> </listitem> <listitem> <para> <parameter>mixed $attributes</parameter> - Associative array or string of table row attributes. This can also be an array of attributes, in which case the attributes will be repeated in a loop. </para> </listitem> <listitem> <para> <parameter>boolean $inTR</parameter> - <constant>false</constant>, if attributes are to be applied in <parameter>TD</parameter> tags; <constant>true</constant>, if attributes are to be applied in <parameter>TR</parameter> tag </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setrowattributes.throws"> &title.throws; <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="4"> <thead> <row> <entry>Error code</entry> <entry>Error message</entry> <entry>Meaning</entry> <entry>Solution</entry> </row> </thead> <tbody> <row> <entry></entry> <entry> <quote> Invalid table row reference [<parameter>$row</parameter>] </quote> </entry> <entry>The row <parameter>$row</parameter> does not exists</entry> <entry>Enable the <parameter>autoGrow</parameter> feature</entry> </row> <row> <entry></entry> <entry> <quote> Invalid table column reference [<parameter>$column</parameter>] </quote> </entry> <entry> The column <parameter>$column</parameter> does not exists </entry> <entry>Enable the <parameter>autoGrow</parameter> feature</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setrowattributes.note"> &title.note; &note.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.setrowattributes.see"> &title.see; <!-- Additional links go here --> <para> <link linkend="package.html.html-table.html-table.setcolattributes"> <function>HTML_Table::setColAttributes</function> </link> </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-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 --> Index: peardoc/peardoc2/en/package/html/html-table/html-table/setrowcount.xml +++ peardoc/peardoc2/en/package/html/html-table/html-table/setrowcount.xml <!-- $Revision: 1.1 $ --> <refentry id="package.html.html-table.html-table.setrowcount"> <refnamediv> <refname>HTML_Table::setRowCount</refname> <refpurpose>Set row number</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML/Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>HTML_Table::setRowCount</function></funcdef> <paramdef> int <parameter>$rows</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.setrowcount.desc"> &title.desc; <para> Sets the number of rows in the table </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setrowcount.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $rows</parameter> - number of rows to create </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setrowcount.note"> &title.note; &note.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.setrowcount.see"> &title.see; <!-- Additional links go here --> <para> <link linkend="package.html.html-table.html-table.setcolcount"> <function>HTML_Table::setColCount</function> </link> </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-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 --> Index: peardoc/peardoc2/en/package/html/html-table/html-table/setrowtype.xml +++ peardoc/peardoc2/en/package/html/html-table/html-table/setrowtype.xml <!-- $Revision: 1.1 $ --> <refentry id="package.html.html-table.html-table.setrowtype"> <refnamediv> <refname>HTML_Table::setRowType</refname> <refpurpose>Set row type</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML/Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>HTML_Table::setRowType</function></funcdef> <paramdef> int <parameter>$row</parameter> </paramdef> <paramdef> string <parameter>$type</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.setrowtype.desc"> &title.desc; <para> Sets the type of a row to <parameter>'TH'</parameter> or <parameter>'TD'</parameter> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setrowtype.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $row</parameter> - Row index </para> </listitem> <listitem> <para> <parameter>string $type</parameter> - <parameter>'TH'</parameter> or <parameter>'TD'</parameter> </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setrowtype.note"> &title.note; &note.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.setrowtype.see"> &title.see; <!-- Additional links go here --> <para> <link linkend="package.html.html-table.html-table.setcoltype"> <function>HTML_Table::setColType</function> </link> </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-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 --> Index: peardoc/peardoc2/en/package/html/html-table/html-table/tohtml.xml +++ peardoc/peardoc2/en/package/html/html-table/html-table/tohtml.xml <!-- $Revision: 1.1 $ --> <refentry id="package.html.html-table.html-table.tohtml"> <refnamediv> <refname>HTML_Table::toHtml</refname> <refpurpose>Return HTML code</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML/Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>string <function>HTML_Table::toHtml</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.tohtml.desc"> &title.desc; <para> Returns the table structure as HTML </para> </refsect1> <refsect1 id="package.html.html-table.html-table.tohtml.return"> &title.returns; <para> <parameter>string</parameter> - the generated HTML code </para> </refsect1> <refsect1 id="package.html.html-table.html-table.tohtml.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 --> Index: peardoc/peardoc2/en/package/html/html-table/html-table/updateallattributes.xml +++ peardoc/peardoc2/en/package/html/html-table/html-table/updateallattributes.xml <!-- $Revision: 1.1 $ --> <refentry id="package.html.html-table.html-table.updateallattributes"> <refnamediv> <refname>HTML_Table::updateAllAttributes</refname> <refpurpose>Update attributes of all cells</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML/Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>HTML_Table::updateAllAttributes</function></funcdef> <paramdef> mixed <parameter><optional>$attributes=null</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.updateallattributes.desc"> &title.desc; <para> Updates the attributes for all cells. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.updateallattributes.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>mixed $attributes</parameter> - Associative array or string of table row attributes </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.updateallattributes.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 --> Index: peardoc/peardoc2/en/package/html/html-table/html-table/updatecellattributes.xml +++ peardoc/peardoc2/en/package/html/html-table/html-table/updatecellattributes.xml <!-- $Revision: 1.1 $ --> <refentry id="package.html.html-table.html-table.updatecellattributes"> <refnamediv> <refname>HTML_Table::updateCellAttributes</refname> <refpurpose>Update cell attributes</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML/Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>HTML_Table::updateCellAttributes</function></funcdef> <paramdef> int <parameter>$row</parameter> </paramdef> <paramdef> int <parameter>$col</parameter> </paramdef> <paramdef> mixed <parameter>$attributes</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.updatecellattributes.desc"> &title.desc; <para> Updates the cell attributes passed but leaves other existing attributes intact </para> </refsect1> <refsect1 id="package.html.html-table.html-table.updatecellattributes.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $row</parameter> - Row index </para> </listitem> <listitem> <para> <parameter>int $col</parameter> - Column index </para> </listitem> <listitem> <para> <parameter>mixed $attributes</parameter> - Associative array or string of table row attributes </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.updatecellattributes.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 --> Index: peardoc/peardoc2/en/package/html/html-table/html-table/updatecolattributes.xml +++ peardoc/peardoc2/en/package/html/html-table/html-table/updatecolattributes.xml <!-- $Revision: 1.1 $ --> <refentry id="package.html.html-table.html-table.updatecolattributes"> <refnamediv> <refname>HTML_Table::updateColAttributes</refname> <refpurpose>Update column attributes</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML/Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>HTML_Table::updateColAttributes</function></funcdef> <paramdef> int <parameter>$col</parameter> </paramdef> <paramdef> mixed <parameter><optional>$attributes=null</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.updatecolattributes.desc"> &title.desc; <para> Updates the column attributes for an existing column </para> </refsect1> <refsect1 id="package.html.html-table.html-table.updatecolattributes.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $col</parameter> - Column index </para> </listitem> <listitem> <para> <parameter>mixed $attributes</parameter> - Associative array or string of table row attributes </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.updatecolattributes.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 --> Index: peardoc/peardoc2/en/package/html/html-table/html-table/updaterowattributes.xml +++ peardoc/peardoc2/en/package/html/html-table/html-table/updaterowattributes.xml <!-- $Revision: 1.1 $ --> <refentry id="package.html.html-table.html-table.updaterowattributes"> <refnamediv> <refname>HTML_Table::updateRowAttributes</refname> <refpurpose>Update row attributes</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML/Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>HTML_Table::updateRowAttributes</function></funcdef> <paramdef> int <parameter>$row</parameter> </paramdef> <paramdef> mixed <parameter><optional>$attributes=null</optional></parameter> </paramdef> <paramdef> boolean <parameter><optional>$inTR=false</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.updaterowattributes.desc"> &title.desc; <para> Updates the row attributes for an existing row </para> </refsect1> <refsect1 id="package.html.html-table.html-table.updaterowattributes.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $row</parameter> - Row index </para> </listitem> <listitem> <para> <parameter>mixed $attributes</parameter> - Associative array or string of table row attributes </para> </listitem> <listitem> <para> <parameter>boolean $inTR</parameter> - <constant>false</constant> if attributes are to be applied in <parameter>TD</parameter> tags; <constant>true</constant>, if attributes are to be applied in <parameter>TR</parameter> tag. </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.updaterowattributes.throws"> &title.throws; <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="4"> <thead> <row> <entry>Error code</entry> <entry>Error message</entry> <entry>Meaning</entry> <entry>Solution</entry> </row> </thead> <tbody> <row> <entry></entry> <entry> <quote> Invalid table row reference [<parameter>$row</parameter>] </quote> </entry> <entry>The row <parameter>$row</parameter> does not exists</entry> <entry>Enable the <parameter>autoGrow</parameter> feature</entry> </row> <row> <entry></entry> <entry> <quote> Invalid table column reference [<parameter>$column</parameter>] </quote> </entry> <entry> The column <parameter>$column</parameter> does not exists </entry> <entry>Enable the <parameter>autoGrow</parameter> feature</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.updaterowattributes.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.cvs (#7227) next »