RE: [PEPr] Comment on HTML::HTML_DataGrid
| From: | Andrew S. Nagy | Date: | Thu, 19 Feb 2004 14:10:50 +0000 |
| Subject: | RE: [PEPr] Comment on HTML::HTML_DataGrid | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-25722@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: PEPr [mailto:pear-sys@php.net]
>
> Michael Wallner (http://pear.php.net/user/mike) has commented on
> the proposal for HTML::HTML_DataGrid.
>
> Comment:
>
> Why not call parent::HTML_DataGridCore() in HTML_DataGrid_Renderer?
>
> I first was thinking you were cheating multiple inheritance in
> HTML_DataGrid :-)
>
I am cheating :)
I could call the Core from the Renderer, but then the values that are needed
for core need to be passed into the Renderer, and those values don't have
anything to do with the renderer, so I just cheated. :)