Commit of Table.php
| From: | bmansion at localhost dot hst dot nerim dot net | Date: | Thu, 22 Mar 2001 09:01:28 +0000 |
| Subject: | Commit of Table.php | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-55@lists.php.net to get a copy of this message | ||
Hi,
Adam has committed HTML/Common.php and HTML/Table.php.
Table.php is a class that generates HTML Tables. It uses the attributes
parser from Adam\'s Common.php (which I find very useful).
Common.php also contains private methods to make HTML source
look cleaner.
A tutorial on how to use HTML/Table.php can be found at this URL :
http://www.mamasam.com/tutorials/en_html_table.html
It explains the basic functions of the class. There is also a French
version.
I have found a bug that needs to be fixed in HTML/Table.php. As I am
waiting to get a CVS access, I cannot fix it myself, so it would be nice if
someone could do it for me :
In methods updateColAttributes and setColAttributes, you need to
change :
From : for ($i = 0; $i < $this->_cols; $i++) {
to : for ($i = 0; $i < $this->_rows; $i++) {
I am waiting for your comments and I hope you will find this useful.
Bertrand Mansion
http://www.mamasam.com
PS: Thank you Adam for your help :-)
--
Mamasam on the run.