Re: Re: HTML_Table: thead, tfoot and tbody

From: Date: Fri, 05 Aug 2005 11:47:30 +0000
Subject: Re: Re: HTML_Table: thead, tfoot and tbody
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-39246@lists.php.net to get a copy of this message
> So the consensus is to use three arrays like $_tHead, $_tBody and > $_tFoot if the new constructor param tells us to use the three groups, > and to use $_structure like before if the new constructor param isn't > set? > > Maybe I have an error in reasoning (dict.leo.org tells me that this is > the translation for german "Denkfehler") but doesn't this require to > change many functions? > > E.g: function setRowType($row, $type) has this line of code: > $this->_structure[$row][$counter]["type"] = $type; > > But here $row (maybe = 1) is non-ambiguous because it could be row 1 in > <thead>, <tbody> or <tfoot>. And it also must take into accout that it > has to write to $_tHead, $_tBody or $_tFoot if the new constructor param > is true. > > Tell me if I'm on the woodway! Nobody has an opinion on this? Christian? Klaus? Helgi? Bertrand? Anybody else? Mark

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