Re: [PHP] Dynamic Class Methods

2004-09-07 Thread Alex Hogan
[snip] I can think of some good reasons -- the one that readily leaps to mind is a plugin architecture. [/snip] OK.., Duh.., that hit me like a brick. It may take some time but eventually the light will come on. ;-) I don't know why but, plugins never crossed my mind in php development. Until n

Re: [PHP] Dynamic Class Methods

2004-09-07 Thread Matthew Weier O'Phinney
* Alex Hogan <[EMAIL PROTECTED]>: >> Keep in mind the above is still in beta, but will allow you to >> add/remove/redefine methods of objects at runtime. > > You'll have to excuse me form my ignorance, but why would you want to > add, remove or redefine methods of objects at runtime? > > I underst

Re: [PHP] Dynamic Class Methods

2004-09-07 Thread Alex Hogan
> Keep in mind the above is still in beta, but will allow you to > add/remove/redefine methods of objects at runtime. You'll have to excuse me form my ignorance, but why would you want to add, remove or redefine methods of objects at runtime? I understand object overloading, but are you talking

Re: [PHP] Dynamic Class Methods

2004-09-07 Thread John Nichel
Jay Blanchard wrote: [snip] ...stupid... [/snip] Mathieu, calling one of the better contributors on this list stupid is a quick way to earn your way into the 'ignored' group. He tried to help you and you flame him? We have an 'ignored' group? Where do I sign up? ;) -- John C. Nichel ÜberGeek KegW

RE: [PHP] Dynamic Class Methods

2004-09-07 Thread Jay Blanchard
[snip] ...stupid... [/snip] Mathieu, calling one of the better contributors on this list stupid is a quick way to earn your way into the 'ignored' group. He tried to help you and you flame him? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Dynamic Class Methods

2004-09-07 Thread Curt Zirzow
* Thus wrote Mathieu Dumoulin: > I'm trying to setup a function from user code inside a defined object or a > class definition but it doesnt seem to work. Am i doing it right? Is there > something i need to know... is it even possible? > > I know create_function can be used to create a function an

RE: [PHP] Dynamic Class Methods

2004-09-07 Thread Dan Joseph
> Fatal error: Call to undefined function: b() in > /home/tech/web/testboard/implements.php on line 21 > $a->b(); You don't have a function b() defined in class cls_a. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Dynamic Class Methods

2004-09-07 Thread Wouter van Vliet
On Tue, 7 Sep 2004 09:37:44 -0400, Mathieu Dumoulin <[EMAIL PROTECTED]> wrote: > I'm trying to setup a function from user code inside a defined object or a > class definition but it doesnt seem to work. Am i doing it right? Is there > something i need to know... is it even possible? > > I know cre