Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.8.4

Request #9102 new function to add attributes in <thead>, <tfoot> and/or <tbody> tags.
Submitted: 2006-10-20 08:00 UTC
From: dobes at lnx dot cz Assigned: wiesemann
Status: Closed Package: HTML_Table (version 1.7.3)
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2006-10-20 08:00 UTC] dobes at lnx dot cz (Pavel Dobes)
Description: ------------ Add possibility to set <thead>, <tbody> and <tfoot> attributies to be able to easy generate <thead id="some_id"> etc. It's useful for tables with functionality as example on http://podklady.interval.cz/ivanic/520/priklad.htm Thanks

Comments

 [2006-10-20 10:32 UTC] wiesemann (Mark Wiesemann)
This makes sense, yes. I'll try to work on this in the next days.
 [2006-10-20 16:45 UTC] wiesemann (Mark Wiesemann)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. --- You can now use something like: $thead =& $table->getHeader(); $thead->setAttributes(array('id' => 'some_id')); (of course, that's also true for $tbody and $tfoot)