Re: Re: HTML_Table: thead, tfoot and tbody
| From: | Mark Wiesemann | Date: | Mon, 01 Aug 2005 20:31:17 +0000 |
| Subject: | Re: Re: HTML_Table: thead, tfoot and tbody | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-39109@lists.php.net to get a copy of this message | ||
Hi,
another thing came to my mind:
Let's say somebody does this:
$table->setHeaderContents(1, ...);
$table->setCellContents(2, ...);
$table->setHeaderContents(3, ...);
or something similar (like setFooterContents(2, ...) and
setCellContents(3, ...))
What to do with it? Throw an error when using the third line of the
example? That would be a BC break. Or set the cell as a header cell
(<th>) but put in the <tbody> group?
The more I think about this, I like to bring back my first suggestion:
Let the user specify the row numbers that belong to the three groups.
Opinion are welcome as always.
Mark