[PEPr] Comment on HTML::HTML_Tag
| From: | Xavier Baldacci | Date: | Tue, 26 Jul 2005 21:29:14 +0000 |
| Subject: | [PEPr] Comment on HTML::HTML_Tag | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-38947@lists.php.net to get a copy of this message | ||
Xavier Baldacci (http://pear.php.net/user/balda) has commented on the proposal for HTML::HTML_Tag.
Comment:
I have created the HTML_Tag object to have a basic object to render html
code with the toHtml() method (useful with HTML package !) : it's just a
HTML_Common "brick" with a render.
That's why you can encapsulate html objects in the content (objects with
the toHtml() method) : i used it in the HTML_FlashTag object.
For XML_FastCreate : it hasn't the toHtml method, but i can test
method_exists($this->content, "toXml") to make content compatible with
toXml method ?
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=278
--
Sent by PEPr, the automatic proposal system at http://pear.php.net