Re: Re: HTML_Table: thead, tfoot and tbody

From: Date: Mon, 01 Aug 2005 19:27:54 +0000
Subject: Re: Re: HTML_Table: thead, tfoot and tbody
References: 1 2 3 4 5 6 7 8 9 10 11 12  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-39104@lists.php.net to get a copy of this message
Klaus Guenther wrote: > We need to keep 100% BC by default. Sure. Reminder for the implementation plan from this thread: - constructor gets a third parameter ($useTGroups = false) - contents set via setHeaderContents() belong to <thead> - contents set via setCellContents() belong to <tbody> - contents set via setFooterContents() [new!] belong to <tfoot> So I think that setRowType() (for setColType() it does not make much sense, as only one column of every will be changed) could a get a third parameter for switching a row between the three groups. In this case the second parameter (TH/TD) should allow null meaning "do not change". > Hmm... Let's keep separate row numbers for header, body, footer. That > way, you can assign things better, I think. Are there any problems with > that? You're right. It's a little bit more complicated but it makes more sense because $_structure is more cell and not row related. Mark

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