RE: [PEAR-BUG] #1063 [NEW]: toHTML not supported
| From: | Andrew S. Nagy | Date: | Wed, 24 Mar 2004 17:23:27 +0000 |
| Subject: | RE: [PEAR-BUG] #1063 [NEW]: toHTML not supported | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-26746@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: fsteinel at flonet dot net [mailto:pear-dev@lists.php.net]
> Sent: Wednesday, March 24, 2004 8:08 AM
> To: asnagy@webitecture.org
> Subject: [PEAR-BUG] #1063 [NEW]: toHTML not supported
>
> From: fsteinel at flonet dot net
> Operating system:
> PHP version: Irrelevant
> PHP Bug Type: Structures_DataGrid
> Bug description: toHTML not supported
>
> Description:
> ------------
> Standard shoud be return not echo for HTML code.
>
> Do you mind if I do a little search and replace patch for this?
Im not sure if I agree with this, The DataGrid is responsible for
displaying the output, the renderer is responsible for generating the
output. If you need to get access to the html as a string, just call
the
$dg->renderer->toHtml() method.
Can you explain your reasoning in more depth?
Thanks,
Andrew