Re: Suggestions for the HTML/Table-class
| From: | Tomas V.V.Cox | Date: | Thu, 20 Sep 2001 01:05:55 +0000 |
| Subject: | Re: Suggestions for the HTML/Table-class | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-1980@lists.php.net to get a copy of this message | ||
Jonas Delfs wrote:
>
> Hi -
>
> I have the following suggestions for the Table-class:
> - methods get*Attributes() should be implemented
> - it should be legal to give addRow() and addCol() an multidimensional array
> as 2. argument, like this:
> $table->addRow(array('cellOne', 'cellTwo'),
> array(array('bgcolor' =>
> '#000000'), array('bgcolor' => '#FFFFFF')));
> And then the first cell should have a black backgroundcolor, and the second
> a white.
>
> Just tell me to write it on my own and the the second implementation is done
> in a minute and most likely also the first one. I just don't have
> CVS-access.
>
I find that a good idea. You could send the patches here when you want
:-)
Tomas V.V.Cox