Re: Add methods to object dinamically
| From: | Greg Donald | Date: | Tue, 26 Oct 2004 16:22:42 +0000 |
| Subject: | Re: Add methods to object dinamically | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-200370@lists.php.net to get a copy of this message | ||
On Tue, 26 Oct 2004 18:13:10 +0200, Francisco M. Marzoa Alonso
<fmmarzoa@gmx.net> wrote:
> I've seen that's possible to add members to objects dinamically, in example:
>
> The question is, is it possible to add methods in the same way?
Why not just extend the class and add the new functions there?
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/