cvs: peardoc /en/package/html html-table.xml /en/package/html/html-table faq.xml
| From: | Mark Wiesemann | Date: | Sat, 21 Oct 2006 10:46:07 +0000 |
| Subject: | cvs: peardoc /en/package/html html-table.xml /en/package/html/html-table faq.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-8645@lists.php.net to get a copy of this message | ||
wiesemann Sat Oct 21 10:46:07 2006 UTC
Added files:
/peardoc/en/package/html/html-table faq.xml
Modified files:
/peardoc/en/package/html html-table.xml
Log:
- new FAQ page for HTML_Table
http://cvs.php.net/viewvc.cgi/peardoc/en/package/html/html-table.xml?r1=1.6&r2=1.7&diff_format=u
Index: peardoc/en/package/html/html-table.xml
diff -u peardoc/en/package/html/html-table.xml:1.6 peardoc/en/package/html/html-table.xml:1.7
--- peardoc/en/package/html/html-table.xml:1.6 Sun Aug 13 18:50:38 2006
+++ peardoc/en/package/html/html-table.xml Sat Oct 21 10:46:07 2006
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<sect1 id="package.html.html-table">
<title>HTML_Table</title>
@@ -10,6 +10,7 @@
</para>
&package.html.html-table.intro;
+ &package.html.html-table.faq;
&package.html.html-table.html-table.html-table;
http://cvs.php.net/viewvc.cgi/peardoc/en/package/html/html-table/faq.xml?view=markup&rev=1.1
Index: peardoc/en/package/html/html-table/faq.xml
+++ peardoc/en/package/html/html-table/faq.xml
<?xml version="1.0" encoding="iso-8859-1" ?>
<!-- $Revision: 1.1 $ -->
<refentry id="package.html.html-table.faq">
<refnamediv>
<refname>FAQ</refname>
<refpurpose>Answers to most Frequently Asked Questions</refpurpose>
</refnamediv>
<refsect1 id="package.html.html-table.faq.desc">
&title.desc;
<para>
This document is based on questions asked on <ulink url="mailto:&email.pear.general;">PEAR
general mailing list</ulink> and other mailing lists and forums.
</para>
</refsect1>
<refsect1 id="package.html.html-table.faq.content">
<title>HTML_Table FAQ</title>
<qandaset>
<qandaentry>
<question>
<para>
How can I add attributes to the <literal>thead</literal>,
<literal>tfoot</literal> or <literal>tbody</literal> tags?
</para>
</question>
<answer>
<para>
Here is an example on how to set the attribute string
<literal>id="17"</literal> for the <literal>thead</literal>
tag. For the
other two tags the procedure is similar.
</para>
<programlisting role="php">
<![CDATA[
$table = new HTML_Table();
// [...]
$thead =& $table->getHeader();
$thead->setAttributes(array('id' => '17'));
// [...]
$table->display();
]]>
</programlisting>
</answer>
</qandaentry>
</qandaset>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-executeMultiple-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->