Suggestions for the HTML/Table-class
| From: | Jonas Delfs | Date: | Fri, 14 Sep 2001 22:25:57 +0000 |
| Subject: | Suggestions for the HTML/Table-class | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-1924@lists.php.net to get a copy of this message | ||
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.
--
Mvh./Best Regards
Jonas Delfs, http://delfs.dk