Re: Re: HTML_Table: thead, tfoot and tbody
| From: | Christian Weiske | Date: | Mon, 01 Aug 2005 20:01:48 +0000 |
| Subject: | Re: Re: HTML_Table: thead, tfoot and tbody | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-39106@lists.php.net to get a copy of this message | ||
> (1) HTML_Table has the functions setRowType() and setColType(). One can
> set with them whether a row / a column should be rendered as <th> or
> <td>. Should this influence the mapping to tbody/thead/tfoot? (E.g.: Row
> 2 was set with setCellContents(), then $table->setRowType(2, 'TH') is
> called. Should row 2 now belong to thead or tbody?)
TH is allowed in tbody as well - so it shouldn't influence the location.
> (2) Is $_useTGroups an acceptable name for a class attribute? (I also
> want to use the array index 'tgroup' in $_structure to remember in which
> group the row belongs.)
Think so.
Regards/MfG,
Christian Weiske
--
XMMS is playing now:
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc