Re: HTML_Table: thead, tfoot and tbody

From: Date: Fri, 05 Aug 2005 13:14:10 +0000
Subject: Re: HTML_Table: thead, tfoot and tbody
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-39251@lists.php.net to get a copy of this message
Klaus Guenther wrote: > Wow! that sounds like an interesting idea for an HTML_Table2 class! > > For now, we could have the "normal" table class acting as before, just with > those additional get* functions (and the classes behind them). I also like Christian's idea, it makes it very comfortable to use. So we need two new classes for the header and the footer, both having functions like setCellContents(), setRowType() etc. When the third constructor param is true, an instance of the header and footer classes will be generated. For the "normal" (t)body rows $_structure and $table->setCellContents() ... could be used like before. Or do you also want also want a third class (for <tbody>), and let HTML_Table ignore content added directly with $table instead of $body? Mark

« previous php.pear.dev (#39251) next »