cvs: peardoc /fr/package/html/html-table intro.xml /fr/package/html/html-table/html-table addcol.xml addrow.xml altrowattributes.xml apiversion.xml
getautofill.xml getautogrow.xml getbody.xml getcellattributes.xml getcellcontents.xml getcolcount.xml getfooter.xml getheader.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: | Yannick Torres | Date: | Mon, 10 Apr 2006 13:27:30 +0000 |
| Subject: | cvs: peardoc /fr/package/html/html-table intro.xml /fr/package/html/html-table/html-table addcol.xml addrow.xml altrowattributes.xml apiversion.xml getautofill.xml getautogrow.xml getbody.xml getcellattributes.xml getcellcontents.xml getcolcount.xml getfooter.xml getheader.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.doc | ||
| Request: | Send a blank email to pear-doc+get-7773@lists.php.net to get a copy of this message | ||
yannick Mon Apr 10 13:27:30 2006 UTC
Added files:
/peardoc/fr/package/html/html-table/html-table addcol.xml
addrow.xml
altrowattributes.xml
apiversion.xml
getautofill.xml
getautogrow.xml
getbody.xml
getcellattributes.xml
getcellcontents.xml
getcolcount.xml
getfooter.xml
getheader.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
/peardoc/fr/package/html/html-table intro.xml
Log:
initial translation
http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/addcol.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/addcol.xml +++ peardoc/fr/package/html/html-table/html-table/addcol.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.addcol"> <refnamediv> <refname>HTML_Table::addCol</refname> <refpurpose>Ajoute une colonne</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> Ajoute une colonne au tableau et retourne son identifiant de colonne. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.addcol.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>array $contents</parameter> - Doit être un tableau indexé de contenus de cellules valides </para> </listitem> <listitem> <para> <parameter>mixed $attributes</parameter> - Tableau associatif ou chaîne de caractères d'attributs de ligne </para> </listitem> <listitem> <para> <parameter>string $type</parameter> - Type de cellule, soit <parameter>'th'</parameter>, soit <parameter>'td'</parameter> </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.addcol.return"> &title.returns; <para> <parameter>int</parameter> - l'identifiant pour la colonne </para> </refsect1> <refsect1 id="packages.html.html-table.html-table.addcol.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="packages.html.html-table.html-table.addcol.see"> &title.see; <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/addrow.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/addrow.xml +++ peardoc/fr/package/html/html-table/html-table/addrow.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.addrow"> <refnamediv> <refname>HTML_Table::addRow</refname> <refpurpose>Ajoute une ligne</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> Ajoute une ligne au tableau et retourne son identifiant de ligne. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.addrow.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>array $contents</parameter> - Doit être un tableau indexé de contenus de cellules valides </para> </listitem> <listitem> <para> <parameter>mixed $attributes</parameter> - Tableau associatif ou chaîne de caractères d'attributs de ligne. Ceci peut également être un tableau d'attributs, et dans ce cas, les attributs seront répétés dans une boucle. </para> </listitem> <listitem> <para> <parameter>string $type</parameter> - Type de cellule, soit <parameter>'th'</parameter>, soit <parameter>'td'</parameter> </para> </listitem> <listitem> <para> <parameter>boolean $inTR</parameter> - &false;, si les attributs doivent être appliqués aux balises <parameter>TD</parameter>; &true;, si les attributs doivent être appliqués aux balises <parameter>TR</parameter> </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; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.addrow.see"> &title.see; <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/altrowattributes.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/altrowattributes.xml +++ peardoc/fr/package/html/html-table/html-table/altrowattributes.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.altrowattributes"> <refnamediv> <refname>HTML_Table::altRowAttributes</refname> <refpurpose>Alterne les attributs de ligne</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> Alterne les attributs de ligne, en commençant à <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> - Index de la ligne où l'on commence à alterner </para> </listitem> <listitem> <para> <parameter>mixed $attributes1</parameter> - Tableau associatif ou chaîne de caractères d'attributs de ligne </para> </listitem> <listitem> <para> <parameter>mixed $attributes2</parameter> - Tableau associatif ou chaîne de caractères d'attrributs de ligne </para> </listitem> <listitem> <para> <parameter>boolean $inTR</parameter> - &false;, si les attributs doivent être appliqués aux balises <parameter>td</parameter> ; &true;, si les attributs doivent être appliqués aux balises <parameter>tr</parameter>. </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.altrowattributes.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.altrowattributes.see"> &title.see; <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> et <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/apiversion.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/apiversion.xml +++ peardoc/fr/package/html/html-table/html-table/apiversion.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.apiversion"> <refnamediv> <refname>HTML_Table::apiVersion</refname> <refpurpose>Retourne la version de l'API</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> Retourne la version de l'API de la classe <classname>HTML_Table</classname> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.apiversion.return"> &title.returns; <para> <parameter>double</parameter> - le numéro de version </para> </refsect1> <refsect1 id="package.html.html-table.html-table.apiversion.note"> &title.note; ¬e.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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/getautofill.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/getautofill.xml +++ peardoc/fr/package/html/html-table/html-table/getautofill.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.getautofill"> <refnamediv> <refname>HTML_Table::getAutoFill</refname> <refpurpose>Retourne la valeur de l'autoFill</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> Retourne la valeur de l'autoFill. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getautofill.return"> &title.returns; <para> <parameter>mixed</parameter> - la valeur, qui est utilisée pour remplir les cellules vides </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getautofill.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.getautofill.see"> &title.see; <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/getautogrow.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/getautogrow.xml +++ peardoc/fr/package/html/html-table/html-table/getautogrow.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.getautogrow"> <refnamediv> <refname>HTML_Table::getAutoGrow</refname> <refpurpose>Retourne le flag autoGrow</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> Retourne la valeur du flag <parameter>autoGrow</parameter>. Si une valeur d'une cellule qui n'existe pas, <classname>HTML_Table</classname> ajoutera automatiquement une ligne ou une colonne, si ce flag vaut &true;. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getautogrow.return"> &title.returns; <para> <parameter>boolean</parameter> - le statut du flag </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getautogrow.note"> &title.note; ¬e.notstatic; <simpara></simpara> </refsect1> <refsect1 id="package.html.html-table.html-table.getautogrow.see"> &title.see; <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/getbody.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/getbody.xml +++ peardoc/fr/package/html/html-table/html-table/getbody.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.getbody"> <refnamediv> <refname>HTML_Table::getBody</refname> <refpurpose>Retourne l'objet de tableau pour le groupe tbody</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML/Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>mixed <function>HTML_Table::getBody</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.getbody.desc"> &title.desc; <para> Retourne l'objet de tableau pour le groupe tbody. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getbody.return"> &title.returns; <para> <parameter>object</parameter> - l'objet de tableau pour le groupe tbody group </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getbody.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.getbody.see"> &title.see; <para> <link linkend="package.html.html-table.html-table.html-table"> <function>HTML_Table::HTML_Table</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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/getcellattributes.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/getcellattributes.xml +++ peardoc/fr/package/html/html-table/html-table/getcellattributes.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.getcellattributes"> <refnamediv> <refname>HTML_Table::getCellAttributes</refname> <refpurpose>Retourne les attributs de cellule</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> Retourne les attributs pour une cellule donnée. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getcellattributes.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $row</parameter> - Index de la ligne </para> </listitem> <listitem> <para> <parameter>int $col</parameter> - Index de la colonne </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getcellattributes.return"> &title.returns; <para> <parameter>array</parameter> - les attributs de la cellule donnée </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getcellattributes.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.getcellattributes.see"> &title.see; <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/getcellcontents.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/getcellcontents.xml +++ peardoc/fr/package/html/html-table/html-table/getcellcontents.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.getcellcontents"> <refnamediv> <refname>HTML_Table::getCellContents</refname> <refpurpose>Retourne le contenu d'une cellule</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> Retourne le contenu d'une cellule existante. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getcellcontents.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $row</parameter> - Index de la ligne </para> </listitem> <listitem> <para> <parameter>int $col</parameter> - Index de la colonne </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getcellcontents.return"> &title.returns; <para> <parameter>mixed</parameter> - le contenu d'une cellule spécifique </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getcellcontents.note"> &title.note; ¬e.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/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/getcolcount.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/getcolcount.xml +++ peardoc/fr/package/html/html-table/html-table/getcolcount.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.getcolcount"> <refnamediv> <refname>HTML_Table::getColCount</refname> <refpurpose>Retourne le nombre de colonnes</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> Retourne le nombre de colonnes dans le tableau. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getcolcount.return"> &title.returns; <para> <parameter>int</parameter> - nombre de colonnes </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getcolcount.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.getcolcount.see"> &title.see; <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/getfooter.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/getfooter.xml +++ peardoc/fr/package/html/html-table/html-table/getfooter.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.getfooter"> <refnamediv> <refname>HTML_Table::getFooter</refname> <refpurpose>Retorne l'objet du tableau pour le groupe tfoot</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML/Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>mixed <function>HTML_Table::getFooter</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.getfooter.desc"> &title.desc; <para> Retourne l'objet du tableau pour le groupe tfoot. </para> <para> Si l'utilisation des groupes thead, tfoot et tbody n'a pas été activée via le troisième paramètre du constructeur, le regroupement sera activé automatiquement lors de l'appel de cette fonction. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getfooter.return"> &title.returns; <para> <parameter>object</parameter> - l'objet du tableau pour le groupe tfoot </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getfooter.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.getfooter.see"> &title.see; <para> <link linkend="package.html.html-table.html-table.html-table"> <function>HTML_Table::HTML_Table</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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/getheader.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/getheader.xml +++ peardoc/fr/package/html/html-table/html-table/getheader.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.getheader"> <refnamediv> <refname>HTML_Table::getHeader</refname> <refpurpose>Retourne l'objet du tableau pour le group thead</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML/Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>mixed <function>HTML_Table::getHeader</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.getheader.desc"> &title.desc; <para> Retourne l'objet du tableau pour le group thead. </para> <para> Si l'utilisation des groupes thead, tfoot et tbody n'a pas été activée via le troisième paramètre du constructeur, le regroupement sera activé automatiquement lors de l'appel de cette fonction. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getheader.return"> &title.returns; <para> <parameter>object</parameter> - l'objet du tableau pour le groupe thead </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getheader.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.getheader.see"> &title.see; <para> <link linkend="package.html.html-table.html-table.html-table"> <function>HTML_Table::HTML_Table</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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/getrowattributes.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/getrowattributes.xml +++ peardoc/fr/package/html/html-table/html-table/getrowattributes.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.getrowattributes"> <refnamediv> <refname>HTML_Table::getRowAttributes</refname> <refpurpose>Retourne les attributs d'une ligne</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> Retourne les attributs pour une ligne donnée telles qu'ils se trouvent dans la balise <parameter>tr</parameter>. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getrowattributes.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $row</parameter> - Index de la ligne </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getrowattributes.return"> &title.returns; <para> <parameter>array</parameter> - les attributs de la ligne </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getrowattributes.note"> &title.note; ¬e.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/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/getrowcount.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/getrowcount.xml +++ peardoc/fr/package/html/html-table/html-table/getrowcount.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.getrowcount"> <refnamediv> <refname>HTML_Table::getRowCount</refname> <refpurpose>Retourne le nombre de lignes</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> Retourne le nombre de lignes dans le tableau. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getrowcount.return"> &title.returns; <para> <parameter>int</parameter> - nombre de lignes </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getrowcount.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.getrowcount.see"> &title.see; <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/html-table.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/html-table.xml +++ peardoc/fr/package/html/html-table/html-table/html-table.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.html-table"> <refnamediv> <refname>HTML_Table::HTML_Table</refname> <refpurpose>Constructeur</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> <paramdef> boolean <parameter><optional>$useTGroups=false</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.html-table.desc"> &title.desc; <para> Constructeur de la classe. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.html-table.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>array $attributes</parameter> - Tableau associatif d'attributs </para> </listitem> <listitem> <para> <parameter>integer $tabOffset</parameter> - Position dans le tableau </para> </listitem> <listitem> <para> <parameter>boolean $useTGroups</parameter> - Si l'on doit ou non utiliser les groupes thead, tfoot et tbody </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.html-table.note"> &title.note; ¬e.canstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.html-table.see"> &title.see; <para> <link linkend="package.html.html-table.html-table.getbody"> <function>HTML_Table::getBody</function> </link> </para> <para> <link linkend="package.html.html-table.html-table.getfooter"> <function>HTML_Table::getFooter</function> </link> </para> <para> <link linkend="package.html.html-table.html-table.getheader"> <function>HTML_Table::getHeader</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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/setallattributes.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/setallattributes.xml +++ peardoc/fr/package/html/html-table/html-table/setallattributes.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.setallattributes"> <refnamediv> <refname>HTML_Table::setAllAttributes</refname> <refpurpose>Définit les attributs pour toutes les cellules</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> Définit les attributs pour toutes les cellules. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setallattributes.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>mixed $attributes</parameter> - Tableau associatif ou chaîne de caractères d'attributs de cellule </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setallattributes.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.setallattributes.see"> &title.see; <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> et <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/setautofill.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/setautofill.xml +++ peardoc/fr/package/html/html-table/html-table/setautofill.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.setautofill"> <refnamediv> <refname>HTML_Table::setAutoFill</refname> <refpurpose>Définit la valeur pour autoFill</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> La valeur pour <parameter>autoFill</parameter> sera insérée dans chaque cellule vide. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setautofill.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>mixed $fill</parameter> - valeur standard pour les cellules vides </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setautofill.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.setautofill.see"> &title.see; <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/setautogrow.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/setautogrow.xml +++ peardoc/fr/package/html/html-table/html-table/setautogrow.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.setautogrow"> <refnamediv> <refname>HTML_Table::setAutoGrow</refname> <refpurpose>Définit le flag autoGrow</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> Si ce flag est défini à &true;, <classname>HTML_Table</classname> ajoutera automatiquement les nouvelles lignes ou colonnes lorsque vous insérerez une valeur dans une cellule non existante. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setautogrow.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>bool $grow</parameter> - &true; pour compléter automatiquement </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setautogrow.note"> &title.note; ¬e.notstatic; <simpara></simpara> </refsect1> <refsect1 id="package.html.html-table.html-table.setautogrow.see"> &title.see; <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/setcaption.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/setcaption.xml +++ peardoc/fr/package/html/html-table/html-table/setcaption.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.setcaption"> <refnamediv> <refname>HTML_Table::setCaption</refname> <refpurpose>Définit le caption du tableau</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> Définit le caption du tableau. Ceci ne se réfère pas à la balise <parameter><th></parameter>. La balise <parameter><caption></parameter> définit une ligne d'en-tête pour le tableau complet. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setcaption.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $caption</parameter> - la chaîne de caractères à mettre dans la balise caption </para> </listitem> <listitem> <para> <parameter>mixed $attributes</parameter> - Tableau associatif ou chaîne de caractères d'attributs pour la balise caption </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setcaption.note"> &title.note; ¬e.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/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/setcellattributes.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/setcellattributes.xml +++ peardoc/fr/package/html/html-table/html-table/setcellattributes.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.setcellattributes"> <refnamediv> <refname>HTML_Table::setCellAttributes</refname> <refpurpose>Définit les attributs de cellule</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> Définit les attributs pour une cellule existante. Si les indices données n'exsitent pas et que <parameter>autoGrow</parameter> vaut &true;, alors, la ligne et/ou la colonne donnée sera automatiquement ajoutée. Si <parameter>autoGrow</parameter> vaut &false;, une erreur sera retournée. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setcellattributes.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $row</parameter> - Index de la ligne </para> </listitem> <listitem> <para> <parameter>int $col</parameter> - Index de la colonne </para> </listitem> <listitem> <para> <parameter>mixed $attributes</parameter> - Tableau associatif ou chaîne de caractères d'attributs de cellule </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>Code erreur</entry> <entry>Message d'erreur</entry> <entry>Signification</entry> <entry>Solution</entry> </row> </thead> <tbody> <row> <entry></entry> <entry> <quote> Invalid table row reference [<parameter>$row</parameter>] </quote> </entry> <entry>La ligne <parameter>$row</parameter> n'existe pas</entry> <entry>Activer la fonctionnalité <parameter>autoGrow</parameter></entry> </row> <row> <entry></entry> <entry> <quote> Invalid table column reference [<parameter>$column</parameter>] </quote> </entry> <entry>La colonne <parameter>$column</parameter> n'existe pas</entry> <entry>Activer la fonctionnalité <parameter>autoGrow</parameter></entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setcellattributes.note"> &title.note; ¬e.notstatic; <simpara></simpara> </refsect1> <refsect1 id="package.html.html-table.html-table.setcellattributes.see"> &title.see; <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/setcellcontents.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/setcellcontents.xml +++ peardoc/fr/package/html/html-table/html-table/setcellcontents.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.setcellcontents"> <refnamediv> <refname>HTML_Table::setCellContents</refname> <refpurpose>Définit le contenu d'une cellule</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> Définit le contenu pour une cellule existante. Si l'indices donnés n'existe pas et que <parameter>autoGrow</parameter> vaut &true; alors, la ligne et/ou la colonne donnée sera créée automatiquement. Si <parameter>autoGrow</parameter> vaut &false;, alors une erreur sera retournée. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setcellcontents.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $row</parameter> - Index de la ligne </para> </listitem> <listitem> <para> <parameter>int $col</parameter> - Index de la colonne </para> </listitem> <listitem> <para> <parameter>mixed $contents</parameter> - Peut contenir du HTML ou tous objets avec une méthode <function>toHTML</function> </para> </listitem> <listitem> <para> <parameter>string $type</parameter> - Type de cellule, soit <parameter>'th'</parameter>, soit <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>Code erreur</entry> <entry>Message d'erreur</entry> <entry>Signification</entry> <entry>Solution</entry> </row> </thead> <tbody> <row> <entry></entry> <entry> <quote> Invalid table row reference [<parameter>$row</parameter>] </quote> </entry> <entry>La ligne <parameter>$row</parameter> n'existe pas</entry> <entry>Activer la fonctionnalité <parameter>autoGrow</parameter></entry> </row> <row> <entry></entry> <entry> <quote> Invalid table column reference [<parameter>$column</parameter>] </quote> </entry> <entry>La colonne <parameter>$column</parameter> n'existe pas</entry> <entry>Activer la fonctionnalité <parameter>autoGrow</parameter></entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setcellcontents.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.setcellcontents.see"> &title.see; <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/setcolattributes.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/setcolattributes.xml +++ peardoc/fr/package/html/html-table/html-table/setcolattributes.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.setcolattributes"> <refnamediv> <refname>HTML_Table::setColAttributes</refname> <refpurpose>Définit les attributs de colonne</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> Définit les attributs de colonne pour une colonne existante. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setcolattributes.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $col</parameter> - Index de la colonne </para> </listitem> <listitem> <para> <parameter>mixed $attributes</parameter> - Tableau associatif ou chaîne de caractères d'attributs de colonne du tableau </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setcolattributes.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.setcolattributes.see"> &title.see; <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/setcolcount.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/setcolcount.xml +++ peardoc/fr/package/html/html-table/html-table/setcolcount.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.setcolcount"> <refnamediv> <refname>HTML_Table::setColCount</refname> <refpurpose>Définit le nombre de colonnes</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> Définit le nombre de colonne dans le tableau. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setcolcount.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $cols</parameter> - nombre de colonnes à créer </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setcolcount.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.setcolcount.see"> &title.see; <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/setcoltype.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/setcoltype.xml +++ peardoc/fr/package/html/html-table/html-table/setcoltype.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.setcoltype"> <refnamediv> <refname>HTML_Table::setColType</refname> <refpurpose>Définit le type de colonne</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> Définit le type d'une colonne en <parameter>'th'</parameter> ou <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> - Index de la colonne </para> </listitem> <listitem> <para> <parameter>string $type</parameter> - <parameter>th</parameter> ou <parameter>td</parameter> </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.html.html-table.html-table.setcoltype.note"> &title.note; ¬e.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/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/setheadercontents.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/setheadercontents.xml +++ peardoc/fr/package/html/html-table/html-table/setheadercontents.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.setheadercontents"> <refnamediv> <refname>HTML_Table::setHeaderContents</refname> <refpurpose>Définit le contenu d'une cellule d'en-tête</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> Définit une cellule spécifique comme cellule d'en-ête et définit son contenu. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setheadercontents.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $row</parameter> - Index de la ligne </para> </listitem> <listitem> <para> <parameter>int $col</parameter> - Index de la colonne </para> </listitem> <listitem> <para> <parameter>mixed $contents</parameter> - Contenu de la cellule </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setheadercontents.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.setheadercontents.see"> &title.see; <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/setrowattributes.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/setrowattributes.xml +++ peardoc/fr/package/html/html-table/html-table/setrowattributes.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.setrowattributes"> <refnamediv> <refname>HTML_Table::setRowAttributes</refname> <refpurpose>Définit les attributs de lignes</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> Définit les attributs pour une ligne existante. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setrowattributes.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $row</parameter> - Index de la ligne </para> </listitem> <listitem> <para> <parameter>mixed $attributes</parameter> - Tableau associatif ou chaîne de caractères d'attributs de ligne du tableau. Ce peut être aussi un tableau d'attributs dont les attributs seront répétés dans une boucle. </para> </listitem> <listitem> <para> <parameter>boolean $inTR</parameter> - &false;, si les attributs doivent être appliqués aux balises <parameter>td</parameter> ; &true;, si les attributs doivent être appliqués aux balises <parameter>tr</parameter> </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>Code erreur</entry> <entry>Message d'erreur</entry> <entry>Signification</entry> <entry>Solution</entry> </row> </thead> <tbody> <row> <entry></entry> <entry> <quote> Invalid table row reference [<parameter>$row</parameter>] </quote> </entry> <entry>La ligne <parameter>$row</parameter> n'existe pas</entry> <entry>Activer la fonctionnalité <parameter>autoGrow</parameter></entry> </row> <row> <entry></entry> <entry> <quote> Invalid table column reference [<parameter>$column</parameter>] </quote> </entry> <entry> La colonne <parameter>$column</parameter> n'existe pas </entry> <entry>Activer la fonctionnalité <parameter>autoGrow</parameter></entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setrowattributes.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.setrowattributes.see"> &title.see; <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/setrowcount.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/setrowcount.xml +++ peardoc/fr/package/html/html-table/html-table/setrowcount.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.setrowcount"> <refnamediv> <refname>HTML_Table::setRowCount</refname> <refpurpose>Définit le numéro de la ligne</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> Définit le numéro des lignes dans le tableau. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setrowcount.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $rows</parameter> - numéro des lignes à créer </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setrowcount.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.setrowcount.see"> &title.see; <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/setrowtype.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/setrowtype.xml +++ peardoc/fr/package/html/html-table/html-table/setrowtype.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.setrowtype"> <refnamediv> <refname>HTML_Table::setRowType</refname> <refpurpose>Définit le type de la ligne</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> Définit le type d'une ligne en <parameter>'th'</parameter> ou <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> - Index de la ligne </para> </listitem> <listitem> <para> <parameter>string $type</parameter> - <parameter>'th'</parameter> ou <parameter>'td'</parameter> </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setrowtype.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.setrowtype.see"> &title.see; <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/tohtml.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/tohtml.xml +++ peardoc/fr/package/html/html-table/html-table/tohtml.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.tohtml"> <refnamediv> <refname>HTML_Table::toHtml</refname> <refpurpose>Retourne le code HTML</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> Retourne la structure du tableau en HTML. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.tohtml.return"> &title.returns; <para> <parameter>string</parameter> - le code HTML généré </para> </refsect1> <refsect1 id="package.html.html-table.html-table.tohtml.note"> &title.note; ¬e.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/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/updateallattributes.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/updateallattributes.xml +++ peardoc/fr/package/html/html-table/html-table/updateallattributes.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.updateallattributes"> <refnamediv> <refname>HTML_Table::updateAllAttributes</refname> <refpurpose>Mise à jour des attributs de toutes les cellules</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> Met à jour les attributs pour toutes les cellules. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.updateallattributes.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>mixed $attributes</parameter> - Tableau associatif ou chaîne de caractères d'attributs de lignes du tableau </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.updateallattributes.note"> &title.note; ¬e.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/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/updatecellattributes.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/updatecellattributes.xml +++ peardoc/fr/package/html/html-table/html-table/updatecellattributes.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.updatecellattributes"> <refnamediv> <refname>HTML_Table::updateCellAttributes</refname> <refpurpose>Mise à jour des attributs de cellules</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> Met à jour les attributs de cellules passés mais conserve les attributs existants intacts. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.updatecellattributes.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $row</parameter> - Index de la ligne </para> </listitem> <listitem> <para> <parameter>int $col</parameter> - Index de la colonne </para> </listitem> <listitem> <para> <parameter>mixed $attributes</parameter> - Tableau associatif ou chaîne de caractères pour les attributs de lignes du tableau </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.updatecellattributes.note"> &title.note; ¬e.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/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/updatecolattributes.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/updatecolattributes.xml +++ peardoc/fr/package/html/html-table/html-table/updatecolattributes.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.updatecolattributes"> <refnamediv> <refname>HTML_Table::updateColAttributes</refname> <refpurpose>Mise à jour des attributs de colonne</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> Met à jour les attributs de colonne pour une colonne existante. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.updatecolattributes.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $col</parameter> - Index de la colonne </para> </listitem> <listitem> <para> <parameter>mixed $attributes</parameter> - Tableau associatif ou chaîne de caractères d'attributs de colonne du tableau </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.updatecolattributes.note"> &title.note; ¬e.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/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/updaterowattributes.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/updaterowattributes.xml +++ peardoc/fr/package/html/html-table/html-table/updaterowattributes.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.updaterowattributes"> <refnamediv> <refname>HTML_Table::updateRowAttributes</refname> <refpurpose>Mise à jour des attributs des lignes</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> Met à jour les attributs de ligne pour une ligne existante. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.updaterowattributes.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $row</parameter> - Index de la ligne </para> </listitem> <listitem> <para> <parameter>mixed $attributes</parameter> - Tableau associatif ou chaîne de caractères d'attributs de ligne du tableau </para> </listitem> <listitem> <para> <parameter>boolean $inTR</parameter> - &false; si les attributs doivent être appliqués dans la balise <parameter>td</parameter> ; &true;, si les attributs doivent être appliqués dans la balise <parameter>tr</parameter>. </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>Code erreur</entry> <entry>Message d'erreur</entry> <entry>Signification</entry> <entry>Solution</entry> </row> </thead> <tbody> <row> <entry></entry> <entry> <quote> Invalid table row reference [<parameter>$row</parameter>] </quote> </entry> <entry>La ligne <parameter>$row</parameter> n'existe pas</entry> <entry>Activer la fonctionnalité <parameter>autoGrow</parameter></entry> </row> <row> <entry></entry> <entry> <quote> Invalid table column reference [<parameter>$column</parameter>] </quote> </entry> <entry> La colonne <parameter>$column</parameter> n'existe pas </entry> <entry>Activer la fonctionnalité <parameter>autoGrow</parameter></entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.updaterowattributes.note"> &title.note; ¬e.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/viewcvs.cgi/peardoc/fr/package/html/html-table/intro.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/intro.xml +++ peardoc/fr/package/html/html-table/intro.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.intro"> <refnamediv> <refname>Introduction</refname> <refpurpose>Création d'un tabeau HTML</refpurpose> </refnamediv> <refsect1 id="package.html.html-table.intro.whatis"> <title>Qu'est-ce que HTML_Table?</title> <para> <classname>HTML_Table</classname> offre une interface pour créer un tableau HTML. Vous pouvez travailler avec une table comme avec une feuille de calcul. Plutôt que de travailler avec le code HTML et l'ajout de cellules, vous pouvez vous adresser et remplir les cellules indépendament de leurs positions. Il n'y a aucune différence, que vous commenciez à remplir une cellule au début, au milieu ou à la fin de la table, une ligne ou même une colonne. </para> </refsect1> <refsect1 id="package.html.html-table.intro.flags"> <title>Les valeurs autoGrow et autoFill</title> <refsect2 id="package.html.html-table.intro.flags.autogrow"> <title>Le flag <parameter>autoGrow</parameter></title> <para> Normalement, vous définissez un tableau avec un nombre de lignes et de colonnes constantes. Mais parfois, vous le savez pas d'avance le nombre de lignes et de colonnes qu'il vous faut : i.e. la transformation d'entrées utilisateurs ou le résultat d'une requête de base de données en un tableau HTML. </para> <para> Dans ce cas, vous devriez <link linkend="package.html.html-table.html-table.setautogrow">activer </link> la fonctionnalité <parameter>autoGrow</parameter>. Dans ce mode, <classname>HTML_Table</classname> ajoute automatiquement de nouvelles lignes ou de nouvelles colonnes si vous utilisez une cellule dont l'adresse se trouve dans une ligne ou une colonne non existante. </para> </refsect2> <refsect2 id="package.html.html-table.intro.flags.autofill"> <title>La vaeur <parameter>autoFill</parameter></title> <para> Si vous créez un tableau de données, parfois, vous ne devez pas remplir toutes les cellules avec des valeurs différentes. Peut-être ne connaissez-vous pas la valeur pour la cellule, ou vous voulez insérer une valeur par défaut - i.e. récupération de données utilisateurs. Tous les utilisateurs n'ont pas forcemment de téléphone mobile, d'adresse e-mail, etc., dans ce cas, une valeur comme <parameter>"n/a"</parameter> doit être insérée dans cette cellule. </para> <para> Donc, <link linkend="package.html.html-table.html-table.setautofill">définissez </link> simplement <parameter>"n/a"</parameter> comme valeur pour le paramètre <parameter>autoFill</parameter> et cette valeur sera utilisée pour remplir les cellules pour lesquelles une donnée n'existe pas. Vous n'avez plus à remplir toutes les cellules ; les vides seront automatiquement remplient en utilisant la valeur <parameter>"n/a"</parameter>. </para> </refsect2> </refsect1> <refsect1 id="package.html.html-table.intro.create"> <title>Création d'un tableau</title> <refsect2 id="package.html.html-table.intro.create.data"> <title>Les données de démonstration</title> <para> Notre tableau HTML doit contenir les données suivantes : <programlisting role="php"> <![CDATA[ $data = array( '0' => array("Bakken", "Stig", "", "stig@example.com"), '1' => array("Merz", "Alexander", "alex.example.com", "alex@example.com"), '2' => array("Daniel", "Adam", "", "") ); ]]> </programlisting> </para> </refsect2> <refsect2 id="package.html.html-table.intro.create.start"> <title>Commencement</title> <para> Commençons par créer une nouvelle instance de la classe <classname>HTML_Table</classname>. Le tableau doit avoir une largeur de 600 pixels. Nous ne connaissons pas la quantité de données à insérer dans le tableau - donc, nous activons la fonctionnalité <parameter>autoGrow</parameter> feature. Les cellules vides doivent contenir la valeur <parameter>"n/a"</parameter>. <programlisting role="php"> <![CDATA[ require_once "HTML/Table.php"; $tableAttrs = array("width" => "600"); $table = new HTML_Table($tableAttrs); $table -> setAutoGrow(true); $table -> setAutoFill("n/a"); ]]> </programlisting> </para> </refsect2> <refsect2 id="package.html.html-table.intro.create.adddata"> <title>Ajout de lignes de données</title> <para> Maintenant, ajotons les données. Ici, nous utilisons également la fonctionnalité de la classe <classname>HTML_Table</classname> qui permet de colorer alternativement les lignes. Une sur deux sera colorée en rouge. <programlisting role="php"> <![CDATA[ for($nr = 0; $nr < count($data); $nr++) { $table -> setHeaderContents( $nr+1, 0, (string)$nr); for($i = 0; $i < 4; $i++) { if("" != $data[$nr][$i]) $table -> setCellContents( $nr+1, $i+1, $data[$nr][$i]); } } $altRow = array("bgcolor"=>"red"); $table -> altRowAttributes(1, null, $altRow); ]]> </programlisting> </para> </refsect2> <refsect2 id="package.html.html-table.intro.create.addhead"> <title>Ajout de l'en-tête des cellules</title> <para> Maintenant, nous voulons définir les cellules de la première ligne et colonne en tant qu'en-tête des cellules. Cela va ressembler à une feuille de calcul, nous utiliserons donc la couleur grise comme arrière-plan de chaque cellule de l'en-tête. La première ligne contient une en-tête de colonne, la première colonne, le nombre de lignes de données définies. <programlisting role="php"> <![CDATA[ $table -> setHeaderContents(0, 0, ""); $table -> setHeaderContents(0, 1, "Prénom"); $table -> setHeaderContents(0, 2, "Nom"); $table -> setHeaderContents(0, 3, "Site Web"); $table -> setHeaderContents(0, 4, "E-mail"); $hrAttrs = array("bgcolor" => "silver"); $table -> setRowAttributes(0, $hrAttrs, true); $table -> setColAttributes(0, $hrAttrs); ]]> </programlisting> </para> </refsect2> <refsect2 id="package.html.html-table.intro.create.html"> <title>Affichage du tableau</title> <para> C'est fait ! Notre tableau est terminé, maintenant, nous pouvons afficher son code HTML. <programlisting role="php"> <![CDATA[ echo $table->toHTML(); ]]> </programlisting> La sortie devrait ressembler à cela : <programlisting> <![CDATA[ <!-- BEGIN TABLE LEVEL: 0 --> <table width="600"> <tr> <th bgcolor="silver"> </th> <th bgcolor="silver">Prénom</th> <th bgcolor="silver">Nom</th> <th bgcolor="silver">Site Web</th> <th bgcolor="silver">E-mail</th> </tr> <tr> <th bgcolor="silver">0</th> <td>Bakken</td> <td>Stig</td> <td>n/a</td> <td>stig@example.com</td> </tr> <tr> <th bgcolor="silver">1</th> <td bgcolor="red">Merz</td> <td bgcolor="red">Alexander</td> <td bgcolor="red">alex.example.com</td> <td bgcolor="red">alex@example.com</td> </tr> <tr> <th bgcolor="silver">2</th> <td>Daniel</td> <td>Adam</td> <td>n/a</td> <td>n/a</td> </tr> </table> <!-- END TABLE LEVEL: 0 --> ]]> </programlisting> </para> </refsect2> <refsect2 id="package.html.html-table.intro.create.tgroups"> <title>Utilisaton de thead, tfoot et tbody</title> <para> Si vous voulez diviser vos tableaux en groupes <literal>thead</literal>, <literal>tfoot</literal> et <literal>tbody</literal>, vous devez récupérer vos objets de tableaux en utilisant les fonctions <function>getHeader</function>, <function>getFooter</function> et <function>getBody</function>, que vous utiliserez comme un objet de tableau normal. <programlisting role="php"> <![CDATA[ $table = new HTML_Table(); $head =& $table->getHeader(); $foot =& $table->getFooter(); $body =& $table->getBody(); $head->setCellContents(...); $body->setCellContents(...); echo $table->toHtml(); ]]> </programlisting> Dans cet exemple, il n'y a pas de contenu de défini pour le groupe <literal>tfoot</literal>. Donc, uniquement les groupes <literal>thead</literal> et <literal>tbody</literal> seront générés. </para> <note> <para> L'ordre de rendu est <literal>thead</literal>, puis <literal>tfoot</literal> et en dernier, <literal>tbody</literal>. Ce n'est pas un bogue mais une fonctionnalité désirée car c'est cet ordre qui est définit dans le standard (X)HTML. </para> </note> </refsect2> </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/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/addcol.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/addcol.xml +++ peardoc/fr/package/html/html-table/html-table/addcol.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.addcol"> <refnamediv> <refname>HTML_Table::addCol</refname> <refpurpose>Ajoute une colonne</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> Ajoute une colonne au tableau et retourne son identifiant de colonne. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.addcol.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>array $contents</parameter> - Doit être un tableau indexé de contenus de cellules valides </para> </listitem> <listitem> <para> <parameter>mixed $attributes</parameter> - Tableau associatif ou chaîne de caractères d'attributs de ligne </para> </listitem> <listitem> <para> <parameter>string $type</parameter> - Type de cellule, soit <parameter>'th'</parameter>, soit <parameter>'td'</parameter> </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.addcol.return"> &title.returns; <para> <parameter>int</parameter> - l'identifiant pour la colonne </para> </refsect1> <refsect1 id="packages.html.html-table.html-table.addcol.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="packages.html.html-table.html-table.addcol.see"> &title.see; <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/addrow.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/addrow.xml +++ peardoc/fr/package/html/html-table/html-table/addrow.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.addrow"> <refnamediv> <refname>HTML_Table::addRow</refname> <refpurpose>Ajoute une ligne</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> Ajoute une ligne au tableau et retourne son identifiant de ligne. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.addrow.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>array $contents</parameter> - Doit être un tableau indexé de contenus de cellules valides </para> </listitem> <listitem> <para> <parameter>mixed $attributes</parameter> - Tableau associatif ou chaîne de caractères d'attributs de ligne. Ceci peut également être un tableau d'attributs, et dans ce cas, les attributs seront répétés dans une boucle. </para> </listitem> <listitem> <para> <parameter>string $type</parameter> - Type de cellule, soit <parameter>'th'</parameter>, soit <parameter>'td'</parameter> </para> </listitem> <listitem> <para> <parameter>boolean $inTR</parameter> - &false;, si les attributs doivent être appliqués aux balises <parameter>TD</parameter>; &true;, si les attributs doivent être appliqués aux balises <parameter>TR</parameter> </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; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.addrow.see"> &title.see; <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/altrowattributes.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/altrowattributes.xml +++ peardoc/fr/package/html/html-table/html-table/altrowattributes.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.altrowattributes"> <refnamediv> <refname>HTML_Table::altRowAttributes</refname> <refpurpose>Alterne les attributs de ligne</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> Alterne les attributs de ligne, en commençant à <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> - Index de la ligne où l'on commence à alterner </para> </listitem> <listitem> <para> <parameter>mixed $attributes1</parameter> - Tableau associatif ou chaîne de caractères d'attributs de ligne </para> </listitem> <listitem> <para> <parameter>mixed $attributes2</parameter> - Tableau associatif ou chaîne de caractères d'attrributs de ligne </para> </listitem> <listitem> <para> <parameter>boolean $inTR</parameter> - &false;, si les attributs doivent être appliqués aux balises <parameter>td</parameter> ; &true;, si les attributs doivent être appliqués aux balises <parameter>tr</parameter>. </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.altrowattributes.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.altrowattributes.see"> &title.see; <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> et <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/apiversion.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/apiversion.xml +++ peardoc/fr/package/html/html-table/html-table/apiversion.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.apiversion"> <refnamediv> <refname>HTML_Table::apiVersion</refname> <refpurpose>Retourne la version de l'API</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> Retourne la version de l'API de la classe <classname>HTML_Table</classname> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.apiversion.return"> &title.returns; <para> <parameter>double</parameter> - le numéro de version </para> </refsect1> <refsect1 id="package.html.html-table.html-table.apiversion.note"> &title.note; ¬e.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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/getautofill.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/getautofill.xml +++ peardoc/fr/package/html/html-table/html-table/getautofill.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.getautofill"> <refnamediv> <refname>HTML_Table::getAutoFill</refname> <refpurpose>Retourne la valeur de l'autoFill</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> Retourne la valeur de l'autoFill. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getautofill.return"> &title.returns; <para> <parameter>mixed</parameter> - la valeur, qui est utilisée pour remplir les cellules vides </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getautofill.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.getautofill.see"> &title.see; <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/getautogrow.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/getautogrow.xml +++ peardoc/fr/package/html/html-table/html-table/getautogrow.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.getautogrow"> <refnamediv> <refname>HTML_Table::getAutoGrow</refname> <refpurpose>Retourne le flag autoGrow</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> Retourne la valeur du flag <parameter>autoGrow</parameter>. Si une valeur d'une cellule qui n'existe pas, <classname>HTML_Table</classname> ajoutera automatiquement une ligne ou une colonne, si ce flag vaut &true;. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getautogrow.return"> &title.returns; <para> <parameter>boolean</parameter> - le statut du flag </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getautogrow.note"> &title.note; ¬e.notstatic; <simpara></simpara> </refsect1> <refsect1 id="package.html.html-table.html-table.getautogrow.see"> &title.see; <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/getbody.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/getbody.xml +++ peardoc/fr/package/html/html-table/html-table/getbody.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.getbody"> <refnamediv> <refname>HTML_Table::getBody</refname> <refpurpose>Retourne l'objet de tableau pour le groupe tbody</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML/Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>mixed <function>HTML_Table::getBody</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.getbody.desc"> &title.desc; <para> Retourne l'objet de tableau pour le groupe tbody. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getbody.return"> &title.returns; <para> <parameter>object</parameter> - l'objet de tableau pour le groupe tbody group </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getbody.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.getbody.see"> &title.see; <para> <link linkend="package.html.html-table.html-table.html-table"> <function>HTML_Table::HTML_Table</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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/getcellattributes.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/getcellattributes.xml +++ peardoc/fr/package/html/html-table/html-table/getcellattributes.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.getcellattributes"> <refnamediv> <refname>HTML_Table::getCellAttributes</refname> <refpurpose>Retourne les attributs de cellule</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> Retourne les attributs pour une cellule donnée. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getcellattributes.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $row</parameter> - Index de la ligne </para> </listitem> <listitem> <para> <parameter>int $col</parameter> - Index de la colonne </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getcellattributes.return"> &title.returns; <para> <parameter>array</parameter> - les attributs de la cellule donnée </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getcellattributes.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.getcellattributes.see"> &title.see; <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/getcellcontents.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/getcellcontents.xml +++ peardoc/fr/package/html/html-table/html-table/getcellcontents.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.getcellcontents"> <refnamediv> <refname>HTML_Table::getCellContents</refname> <refpurpose>Retourne le contenu d'une cellule</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> Retourne le contenu d'une cellule existante. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getcellcontents.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $row</parameter> - Index de la ligne </para> </listitem> <listitem> <para> <parameter>int $col</parameter> - Index de la colonne </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getcellcontents.return"> &title.returns; <para> <parameter>mixed</parameter> - le contenu d'une cellule spécifique </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getcellcontents.note"> &title.note; ¬e.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/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/getcolcount.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/getcolcount.xml +++ peardoc/fr/package/html/html-table/html-table/getcolcount.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.getcolcount"> <refnamediv> <refname>HTML_Table::getColCount</refname> <refpurpose>Retourne le nombre de colonnes</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> Retourne le nombre de colonnes dans le tableau. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getcolcount.return"> &title.returns; <para> <parameter>int</parameter> - nombre de colonnes </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getcolcount.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.getcolcount.see"> &title.see; <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/getfooter.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/getfooter.xml +++ peardoc/fr/package/html/html-table/html-table/getfooter.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.getfooter"> <refnamediv> <refname>HTML_Table::getFooter</refname> <refpurpose>Retorne l'objet du tableau pour le groupe tfoot</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML/Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>mixed <function>HTML_Table::getFooter</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.getfooter.desc"> &title.desc; <para> Retourne l'objet du tableau pour le groupe tfoot. </para> <para> Si l'utilisation des groupes thead, tfoot et tbody n'a pas été activée via le troisième paramètre du constructeur, le regroupement sera activé automatiquement lors de l'appel de cette fonction. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getfooter.return"> &title.returns; <para> <parameter>object</parameter> - l'objet du tableau pour le groupe tfoot </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getfooter.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.getfooter.see"> &title.see; <para> <link linkend="package.html.html-table.html-table.html-table"> <function>HTML_Table::HTML_Table</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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/getheader.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/getheader.xml +++ peardoc/fr/package/html/html-table/html-table/getheader.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.getheader"> <refnamediv> <refname>HTML_Table::getHeader</refname> <refpurpose>Retourne l'objet du tableau pour le group thead</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once "HTML/Table.php"; </funcsynopsisinfo> <funcprototype> <funcdef>mixed <function>HTML_Table::getHeader</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.getheader.desc"> &title.desc; <para> Retourne l'objet du tableau pour le group thead. </para> <para> Si l'utilisation des groupes thead, tfoot et tbody n'a pas été activée via le troisième paramètre du constructeur, le regroupement sera activé automatiquement lors de l'appel de cette fonction. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getheader.return"> &title.returns; <para> <parameter>object</parameter> - l'objet du tableau pour le groupe thead </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getheader.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.getheader.see"> &title.see; <para> <link linkend="package.html.html-table.html-table.html-table"> <function>HTML_Table::HTML_Table</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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/getrowattributes.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/getrowattributes.xml +++ peardoc/fr/package/html/html-table/html-table/getrowattributes.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.getrowattributes"> <refnamediv> <refname>HTML_Table::getRowAttributes</refname> <refpurpose>Retourne les attributs d'une ligne</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> Retourne les attributs pour une ligne donnée telles qu'ils se trouvent dans la balise <parameter>tr</parameter>. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getrowattributes.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $row</parameter> - Index de la ligne </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getrowattributes.return"> &title.returns; <para> <parameter>array</parameter> - les attributs de la ligne </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getrowattributes.note"> &title.note; ¬e.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/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/getrowcount.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/getrowcount.xml +++ peardoc/fr/package/html/html-table/html-table/getrowcount.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.getrowcount"> <refnamediv> <refname>HTML_Table::getRowCount</refname> <refpurpose>Retourne le nombre de lignes</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> Retourne le nombre de lignes dans le tableau. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getrowcount.return"> &title.returns; <para> <parameter>int</parameter> - nombre de lignes </para> </refsect1> <refsect1 id="package.html.html-table.html-table.getrowcount.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.getrowcount.see"> &title.see; <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/html-table.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/html-table.xml +++ peardoc/fr/package/html/html-table/html-table/html-table.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.html-table"> <refnamediv> <refname>HTML_Table::HTML_Table</refname> <refpurpose>Constructeur</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> <paramdef> boolean <parameter><optional>$useTGroups=false</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-table.html-table.html-table.desc"> &title.desc; <para> Constructeur de la classe. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.html-table.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>array $attributes</parameter> - Tableau associatif d'attributs </para> </listitem> <listitem> <para> <parameter>integer $tabOffset</parameter> - Position dans le tableau </para> </listitem> <listitem> <para> <parameter>boolean $useTGroups</parameter> - Si l'on doit ou non utiliser les groupes thead, tfoot et tbody </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.html-table.note"> &title.note; ¬e.canstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.html-table.see"> &title.see; <para> <link linkend="package.html.html-table.html-table.getbody"> <function>HTML_Table::getBody</function> </link> </para> <para> <link linkend="package.html.html-table.html-table.getfooter"> <function>HTML_Table::getFooter</function> </link> </para> <para> <link linkend="package.html.html-table.html-table.getheader"> <function>HTML_Table::getHeader</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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/setallattributes.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/setallattributes.xml +++ peardoc/fr/package/html/html-table/html-table/setallattributes.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.setallattributes"> <refnamediv> <refname>HTML_Table::setAllAttributes</refname> <refpurpose>Définit les attributs pour toutes les cellules</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> Définit les attributs pour toutes les cellules. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setallattributes.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>mixed $attributes</parameter> - Tableau associatif ou chaîne de caractères d'attributs de cellule </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setallattributes.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.setallattributes.see"> &title.see; <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> et <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/setautofill.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/setautofill.xml +++ peardoc/fr/package/html/html-table/html-table/setautofill.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.setautofill"> <refnamediv> <refname>HTML_Table::setAutoFill</refname> <refpurpose>Définit la valeur pour autoFill</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> La valeur pour <parameter>autoFill</parameter> sera insérée dans chaque cellule vide. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setautofill.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>mixed $fill</parameter> - valeur standard pour les cellules vides </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setautofill.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.setautofill.see"> &title.see; <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/setautogrow.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/setautogrow.xml +++ peardoc/fr/package/html/html-table/html-table/setautogrow.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.setautogrow"> <refnamediv> <refname>HTML_Table::setAutoGrow</refname> <refpurpose>Définit le flag autoGrow</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> Si ce flag est défini à &true;, <classname>HTML_Table</classname> ajoutera automatiquement les nouvelles lignes ou colonnes lorsque vous insérerez une valeur dans une cellule non existante. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setautogrow.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>bool $grow</parameter> - &true; pour compléter automatiquement </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setautogrow.note"> &title.note; ¬e.notstatic; <simpara></simpara> </refsect1> <refsect1 id="package.html.html-table.html-table.setautogrow.see"> &title.see; <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/setcaption.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/setcaption.xml +++ peardoc/fr/package/html/html-table/html-table/setcaption.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.setcaption"> <refnamediv> <refname>HTML_Table::setCaption</refname> <refpurpose>Définit le caption du tableau</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> Définit le caption du tableau. Ceci ne se réfère pas à la balise <parameter><th></parameter>. La balise <parameter><caption></parameter> définit une ligne d'en-tête pour le tableau complet. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setcaption.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $caption</parameter> - la chaîne de caractères à mettre dans la balise caption </para> </listitem> <listitem> <para> <parameter>mixed $attributes</parameter> - Tableau associatif ou chaîne de caractères d'attributs pour la balise caption </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setcaption.note"> &title.note; ¬e.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/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/setcellattributes.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/setcellattributes.xml +++ peardoc/fr/package/html/html-table/html-table/setcellattributes.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.setcellattributes"> <refnamediv> <refname>HTML_Table::setCellAttributes</refname> <refpurpose>Définit les attributs de cellule</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> Définit les attributs pour une cellule existante. Si les indices données n'exsitent pas et que <parameter>autoGrow</parameter> vaut &true;, alors, la ligne et/ou la colonne donnée sera automatiquement ajoutée. Si <parameter>autoGrow</parameter> vaut &false;, une erreur sera retournée. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setcellattributes.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $row</parameter> - Index de la ligne </para> </listitem> <listitem> <para> <parameter>int $col</parameter> - Index de la colonne </para> </listitem> <listitem> <para> <parameter>mixed $attributes</parameter> - Tableau associatif ou chaîne de caractères d'attributs de cellule </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>Code erreur</entry> <entry>Message d'erreur</entry> <entry>Signification</entry> <entry>Solution</entry> </row> </thead> <tbody> <row> <entry></entry> <entry> <quote> Invalid table row reference [<parameter>$row</parameter>] </quote> </entry> <entry>La ligne <parameter>$row</parameter> n'existe pas</entry> <entry>Activer la fonctionnalité <parameter>autoGrow</parameter></entry> </row> <row> <entry></entry> <entry> <quote> Invalid table column reference [<parameter>$column</parameter>] </quote> </entry> <entry>La colonne <parameter>$column</parameter> n'existe pas</entry> <entry>Activer la fonctionnalité <parameter>autoGrow</parameter></entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setcellattributes.note"> &title.note; ¬e.notstatic; <simpara></simpara> </refsect1> <refsect1 id="package.html.html-table.html-table.setcellattributes.see"> &title.see; <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/setcellcontents.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/setcellcontents.xml +++ peardoc/fr/package/html/html-table/html-table/setcellcontents.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.setcellcontents"> <refnamediv> <refname>HTML_Table::setCellContents</refname> <refpurpose>Définit le contenu d'une cellule</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> Définit le contenu pour une cellule existante. Si l'indices donnés n'existe pas et que <parameter>autoGrow</parameter> vaut &true; alors, la ligne et/ou la colonne donnée sera créée automatiquement. Si <parameter>autoGrow</parameter> vaut &false;, alors une erreur sera retournée. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setcellcontents.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $row</parameter> - Index de la ligne </para> </listitem> <listitem> <para> <parameter>int $col</parameter> - Index de la colonne </para> </listitem> <listitem> <para> <parameter>mixed $contents</parameter> - Peut contenir du HTML ou tous objets avec une méthode <function>toHTML</function> </para> </listitem> <listitem> <para> <parameter>string $type</parameter> - Type de cellule, soit <parameter>'th'</parameter>, soit <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>Code erreur</entry> <entry>Message d'erreur</entry> <entry>Signification</entry> <entry>Solution</entry> </row> </thead> <tbody> <row> <entry></entry> <entry> <quote> Invalid table row reference [<parameter>$row</parameter>] </quote> </entry> <entry>La ligne <parameter>$row</parameter> n'existe pas</entry> <entry>Activer la fonctionnalité <parameter>autoGrow</parameter></entry> </row> <row> <entry></entry> <entry> <quote> Invalid table column reference [<parameter>$column</parameter>] </quote> </entry> <entry>La colonne <parameter>$column</parameter> n'existe pas</entry> <entry>Activer la fonctionnalité <parameter>autoGrow</parameter></entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setcellcontents.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.setcellcontents.see"> &title.see; <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/setcolattributes.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/setcolattributes.xml +++ peardoc/fr/package/html/html-table/html-table/setcolattributes.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.setcolattributes"> <refnamediv> <refname>HTML_Table::setColAttributes</refname> <refpurpose>Définit les attributs de colonne</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> Définit les attributs de colonne pour une colonne existante. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setcolattributes.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $col</parameter> - Index de la colonne </para> </listitem> <listitem> <para> <parameter>mixed $attributes</parameter> - Tableau associatif ou chaîne de caractères d'attributs de colonne du tableau </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setcolattributes.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.setcolattributes.see"> &title.see; <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/setcolcount.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/setcolcount.xml +++ peardoc/fr/package/html/html-table/html-table/setcolcount.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.setcolcount"> <refnamediv> <refname>HTML_Table::setColCount</refname> <refpurpose>Définit le nombre de colonnes</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> Définit le nombre de colonne dans le tableau. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setcolcount.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $cols</parameter> - nombre de colonnes à créer </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setcolcount.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.setcolcount.see"> &title.see; <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/setcoltype.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/setcoltype.xml +++ peardoc/fr/package/html/html-table/html-table/setcoltype.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.setcoltype"> <refnamediv> <refname>HTML_Table::setColType</refname> <refpurpose>Définit le type de colonne</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> Définit le type d'une colonne en <parameter>'th'</parameter> ou <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> - Index de la colonne </para> </listitem> <listitem> <para> <parameter>string $type</parameter> - <parameter>th</parameter> ou <parameter>td</parameter> </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="packages.html.html-table.html-table.setcoltype.note"> &title.note; ¬e.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/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/setheadercontents.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/setheadercontents.xml +++ peardoc/fr/package/html/html-table/html-table/setheadercontents.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.setheadercontents"> <refnamediv> <refname>HTML_Table::setHeaderContents</refname> <refpurpose>Définit le contenu d'une cellule d'en-tête</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> Définit une cellule spécifique comme cellule d'en-ête et définit son contenu. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setheadercontents.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $row</parameter> - Index de la ligne </para> </listitem> <listitem> <para> <parameter>int $col</parameter> - Index de la colonne </para> </listitem> <listitem> <para> <parameter>mixed $contents</parameter> - Contenu de la cellule </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setheadercontents.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.setheadercontents.see"> &title.see; <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/setrowattributes.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/setrowattributes.xml +++ peardoc/fr/package/html/html-table/html-table/setrowattributes.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.setrowattributes"> <refnamediv> <refname>HTML_Table::setRowAttributes</refname> <refpurpose>Définit les attributs de lignes</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> Définit les attributs pour une ligne existante. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setrowattributes.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $row</parameter> - Index de la ligne </para> </listitem> <listitem> <para> <parameter>mixed $attributes</parameter> - Tableau associatif ou chaîne de caractères d'attributs de ligne du tableau. Ce peut être aussi un tableau d'attributs dont les attributs seront répétés dans une boucle. </para> </listitem> <listitem> <para> <parameter>boolean $inTR</parameter> - &false;, si les attributs doivent être appliqués aux balises <parameter>td</parameter> ; &true;, si les attributs doivent être appliqués aux balises <parameter>tr</parameter> </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>Code erreur</entry> <entry>Message d'erreur</entry> <entry>Signification</entry> <entry>Solution</entry> </row> </thead> <tbody> <row> <entry></entry> <entry> <quote> Invalid table row reference [<parameter>$row</parameter>] </quote> </entry> <entry>La ligne <parameter>$row</parameter> n'existe pas</entry> <entry>Activer la fonctionnalité <parameter>autoGrow</parameter></entry> </row> <row> <entry></entry> <entry> <quote> Invalid table column reference [<parameter>$column</parameter>] </quote> </entry> <entry> La colonne <parameter>$column</parameter> n'existe pas </entry> <entry>Activer la fonctionnalité <parameter>autoGrow</parameter></entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setrowattributes.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.setrowattributes.see"> &title.see; <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/setrowcount.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/setrowcount.xml +++ peardoc/fr/package/html/html-table/html-table/setrowcount.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.setrowcount"> <refnamediv> <refname>HTML_Table::setRowCount</refname> <refpurpose>Définit le numéro de la ligne</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> Définit le numéro des lignes dans le tableau. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setrowcount.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $rows</parameter> - numéro des lignes à créer </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setrowcount.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.setrowcount.see"> &title.see; <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/setrowtype.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/setrowtype.xml +++ peardoc/fr/package/html/html-table/html-table/setrowtype.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.setrowtype"> <refnamediv> <refname>HTML_Table::setRowType</refname> <refpurpose>Définit le type de la ligne</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> Définit le type d'une ligne en <parameter>'th'</parameter> ou <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> - Index de la ligne </para> </listitem> <listitem> <para> <parameter>string $type</parameter> - <parameter>'th'</parameter> ou <parameter>'td'</parameter> </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.setrowtype.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-table.html-table.setrowtype.see"> &title.see; <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 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/tohtml.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/tohtml.xml +++ peardoc/fr/package/html/html-table/html-table/tohtml.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.tohtml"> <refnamediv> <refname>HTML_Table::toHtml</refname> <refpurpose>Retourne le code HTML</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> Retourne la structure du tableau en HTML. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.tohtml.return"> &title.returns; <para> <parameter>string</parameter> - le code HTML généré </para> </refsect1> <refsect1 id="package.html.html-table.html-table.tohtml.note"> &title.note; ¬e.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/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/updateallattributes.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/updateallattributes.xml +++ peardoc/fr/package/html/html-table/html-table/updateallattributes.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.updateallattributes"> <refnamediv> <refname>HTML_Table::updateAllAttributes</refname> <refpurpose>Mise à jour des attributs de toutes les cellules</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> Met à jour les attributs pour toutes les cellules. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.updateallattributes.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>mixed $attributes</parameter> - Tableau associatif ou chaîne de caractères d'attributs de lignes du tableau </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.updateallattributes.note"> &title.note; ¬e.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/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/updatecellattributes.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/updatecellattributes.xml +++ peardoc/fr/package/html/html-table/html-table/updatecellattributes.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.updatecellattributes"> <refnamediv> <refname>HTML_Table::updateCellAttributes</refname> <refpurpose>Mise à jour des attributs de cellules</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> Met à jour les attributs de cellules passés mais conserve les attributs existants intacts. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.updatecellattributes.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $row</parameter> - Index de la ligne </para> </listitem> <listitem> <para> <parameter>int $col</parameter> - Index de la colonne </para> </listitem> <listitem> <para> <parameter>mixed $attributes</parameter> - Tableau associatif ou chaîne de caractères pour les attributs de lignes du tableau </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.updatecellattributes.note"> &title.note; ¬e.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/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/updatecolattributes.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/updatecolattributes.xml +++ peardoc/fr/package/html/html-table/html-table/updatecolattributes.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.updatecolattributes"> <refnamediv> <refname>HTML_Table::updateColAttributes</refname> <refpurpose>Mise à jour des attributs de colonne</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> Met à jour les attributs de colonne pour une colonne existante. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.updatecolattributes.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $col</parameter> - Index de la colonne </para> </listitem> <listitem> <para> <parameter>mixed $attributes</parameter> - Tableau associatif ou chaîne de caractères d'attributs de colonne du tableau </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.updatecolattributes.note"> &title.note; ¬e.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/viewcvs.cgi/peardoc/fr/package/html/html-table/html-table/updaterowattributes.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/html-table/updaterowattributes.xml +++ peardoc/fr/package/html/html-table/html-table/updaterowattributes.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.html-table.updaterowattributes"> <refnamediv> <refname>HTML_Table::updateRowAttributes</refname> <refpurpose>Mise à jour des attributs des lignes</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> Met à jour les attributs de ligne pour une ligne existante. </para> </refsect1> <refsect1 id="package.html.html-table.html-table.updaterowattributes.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>int $row</parameter> - Index de la ligne </para> </listitem> <listitem> <para> <parameter>mixed $attributes</parameter> - Tableau associatif ou chaîne de caractères d'attributs de ligne du tableau </para> </listitem> <listitem> <para> <parameter>boolean $inTR</parameter> - &false; si les attributs doivent être appliqués dans la balise <parameter>td</parameter> ; &true;, si les attributs doivent être appliqués dans la balise <parameter>tr</parameter>. </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>Code erreur</entry> <entry>Message d'erreur</entry> <entry>Signification</entry> <entry>Solution</entry> </row> </thead> <tbody> <row> <entry></entry> <entry> <quote> Invalid table row reference [<parameter>$row</parameter>] </quote> </entry> <entry>La ligne <parameter>$row</parameter> n'existe pas</entry> <entry>Activer la fonctionnalité <parameter>autoGrow</parameter></entry> </row> <row> <entry></entry> <entry> <quote> Invalid table column reference [<parameter>$column</parameter>] </quote> </entry> <entry> La colonne <parameter>$column</parameter> n'existe pas </entry> <entry>Activer la fonctionnalité <parameter>autoGrow</parameter></entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.html.html-table.html-table.updaterowattributes.note"> &title.note; ¬e.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/viewcvs.cgi/peardoc/fr/package/html/html-table/intro.xml?view=markup&rev=1.1 Index: peardoc/fr/package/html/html-table/intro.xml +++ peardoc/fr/package/html/html-table/intro.xml <?xml version='1.0' encoding='ISO-8859-1' ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <refentry id="package.html.html-table.intro"> <refnamediv> <refname>Introduction</refname> <refpurpose>Création d'un tabeau HTML</refpurpose> </refnamediv> <refsect1 id="package.html.html-table.intro.whatis"> <title>Qu'est-ce que HTML_Table?</title> <para> <classname>HTML_Table</classname> offre une interface pour créer un tableau HTML. Vous pouvez travailler avec une table comme avec une feuille de calcul. Plutôt que de travailler avec le code HTML et l'ajout de cellules, vous pouvez vous adresser et remplir les cellules indépendament de leurs positions. Il n'y a aucune différence, que vous commenciez à remplir une cellule au début, au milieu ou à la fin de la table, une ligne ou même une colonne. </para> </refsect1> <refsect1 id="package.html.html-table.intro.flags"> <title>Les valeurs autoGrow et autoFill</title> <refsect2 id="package.html.html-table.intro.flags.autogrow"> <title>Le flag <parameter>autoGrow</parameter></title> <para> Normalement, vous définissez un tableau avec un nombre de lignes et de colonnes constantes. Mais parfois, vous le savez pas d'avance le nombre de lignes et de colonnes qu'il vous faut : i.e. la transformation d'entrées utilisateurs ou le résultat d'une requête de base de données en un tableau HTML. </para> <para> Dans ce cas, vous devriez <link linkend="package.html.html-table.html-table.setautogrow">activer </link> la fonctionnalité <parameter>autoGrow</parameter>. Dans ce mode, <classname>HTML_Table</classname> ajoute automatiquement de nouvelles lignes ou de nouvelles colonnes si vous utilisez une cellule dont l'adresse se trouve dans une ligne ou une colonne non existante. </para> </refsect2> <refsect2 id="package.html.html-table.intro.flags.autofill"> <title>La vaeur <parameter>autoFill</parameter></title> <para> Si vous créez un tableau de données, parfois, vous ne devez pas remplir toutes les cellules avec des valeurs différentes. Peut-être ne connaissez-vous pas la valeur pour la cellule, ou vous voulez insérer une valeur par défaut - i.e. récupération de données utilisateurs. Tous les utilisateurs n'ont pas forcemment de téléphone mobile, d'adresse e-mail, etc., dans ce cas, une valeur comme <parameter>"n/a"</parameter> doit être insérée dans cette cellule. </para> <para> Donc, <link linkend="package.html.html-table.html-table.setautofill">définissez </link> simplement <parameter>"n/a"</parameter> comme valeur pour le paramètre <parameter>autoFill</parameter> et cette valeur sera utilisée pour remplir les cellules pour lesquelles une donnée n'existe pas. Vous n'avez plus à remplir toutes les cellules ; les vides seront automatiquement remplient en utilisant la valeur <parameter>"n/a"</parameter>. </para> </refsect2> </refsect1> <refsect1 id="package.html.html-table.intro.create"> <title>Création d'un tableau</title> <refsect2 id="package.html.html-table.intro.create.data"> <title>Les données de démonstration</title> <para> Notre tableau HTML doit contenir les données suivantes : <programlisting role="php"> <![CDATA[ $data = array( '0' => array("Bakken", "Stig", "", "stig@example.com"), '1' => array("Merz", "Alexander", "alex.example.com", "alex@example.com"), '2' => array("Daniel", "Adam", "", "") ); ]]> </programlisting> </para> </refsect2> <refsect2 id="package.html.html-table.intro.create.start"> <title>Commencement</title> <para> Commençons par créer une nouvelle instance de la classe <classname>HTML_Table</classname>. Le tableau doit avoir une largeur de 600 pixels. Nous ne connaissons pas la quantité de données à insérer dans le tableau - donc, nous activons la fonctionnalité <parameter>autoGrow</parameter> feature. Les cellules vides doivent contenir la valeur <parameter>"n/a"</parameter>. <programlisting role="php"> <![CDATA[ require_once "HTML/Table.php"; $tableAttrs = array("width" => "600"); $table = new HTML_Table($tableAttrs); $table -> setAutoGrow(true); $table -> setAutoFill("n/a"); ]]> </programlisting> </para> </refsect2> <refsect2 id="package.html.html-table.intro.create.adddata"> <title>Ajout de lignes de données</title> <para> Maintenant, ajotons les données. Ici, nous utilisons également la fonctionnalité de la classe <classname>HTML_Table</classname> qui permet de colorer alternativement les lignes. Une sur deux sera colorée en rouge. <programlisting role="php"> <![CDATA[ for($nr = 0; $nr < count($data); $nr++) { $table -> setHeaderContents( $nr+1, 0, (string)$nr); for($i = 0; $i < 4; $i++) { if("" != $data[$nr][$i]) $table -> setCellContents( $nr+1, $i+1, $data[$nr][$i]); } } $altRow = array("bgcolor"=>"red"); $table -> altRowAttributes(1, null, $altRow); ]]> </programlisting> </para> </refsect2> <refsect2 id="package.html.html-table.intro.create.addhead"> <title>Ajout de l'en-tête des cellules</title> <para> Maintenant, nous voulons définir les cellules de la première ligne et colonne en tant qu'en-tête des cellules. Cela va ressembler à une feuille de calcul, nous utiliserons donc la couleur grise comme arrière-plan de chaque cellule de l'en-tête. La première ligne contient une en-tête de colonne, la première colonne, le nombre de lignes de données définies. <programlisting role="php"> <![CDATA[ $table -> setHeaderContents(0, 0, ""); $table -> setHeaderContents(0, 1, "Prénom"); $table -> setHeaderContents(0, 2, "Nom"); $table -> setHeaderContents(0, 3, "Site Web"); $table -> setHeaderContents(0, 4, "E-mail"); $hrAttrs = array("bgcolor" => "silver"); $table -> setRowAttributes(0, $hrAttrs, true); $table -> setColAttributes(0, $hrAttrs); ]]> </programlisting> </para> </refsect2> <refsect2 id="package.html.html-table.intro.create.html"> <title>Affichage du tableau</title> <para> C'est fait ! Notre tableau est terminé, maintenant, nous pouvons afficher son code HTML. <programlisting role="php"> <![CDATA[ echo $table->toHTML(); ]]> </programlisting> La sortie devrait ressembler à cela : <programlisting> <![CDATA[ <!-- BEGIN TABLE LEVEL: 0 --> <table width="600"> <tr> <th bgcolor="silver"> </th> <th bgcolor="silver">Prénom</th> <th bgcolor="silver">Nom</th> <th bgcolor="silver">Site Web</th> <th bgcolor="silver">E-mail</th> </tr> <tr> <th bgcolor="silver">0</th> <td>Bakken</td> <td>Stig</td> <td>n/a</td> <td>stig@example.com</td> </tr> <tr> <th bgcolor="silver">1</th> <td bgcolor="red">Merz</td> <td bgcolor="red">Alexander</td> <td bgcolor="red">alex.example.com</td> <td bgcolor="red">alex@example.com</td> </tr> <tr> <th bgcolor="silver">2</th> <td>Daniel</td> <td>Adam</td> <td>n/a</td> <td>n/a</td> </tr> </table> <!-- END TABLE LEVEL: 0 --> ]]> </programlisting> </para> </refsect2> <refsect2 id="package.html.html-table.intro.create.tgroups"> <title>Utilisaton de thead, tfoot et tbody</title> <para> Si vous voulez diviser vos tableaux en groupes <literal>thead</literal>, <literal>tfoot</literal> et <literal>tbody</literal>, vous devez récupérer vos objets de tableaux en utilisant les fonctions <function>getHeader</function>, <function>getFooter</function> et <function>getBody</function>, que vous utiliserez comme un objet de tableau normal. <programlisting role="php"> <![CDATA[ $table = new HTML_Table(); $head =& $table->getHeader(); $foot =& $table->getFooter(); $body =& $table->getBody(); $head->setCellContents(...); $body->setCellContents(...); echo $table->toHtml(); ]]> </programlisting> Dans cet exemple, il n'y a pas de contenu de défini pour le groupe <literal>tfoot</literal>. Donc, uniquement les groupes <literal>thead</literal> et <literal>tbody</literal> seront générés. </para> <note> <para> L'ordre de rendu est <literal>thead</literal>, puis <literal>tfoot</literal> et en dernier, <literal>tbody</literal>. Ce n'est pas un bogue mais une fonctionnalité désirée car c'est cet ordre qui est définit dans le standard (X)HTML. </para> </note> </refsect2> </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 -->