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: FW: [PHP] Dynamic Class Methods

2004-09-07 Thread John Nichel
Mathieu Dumoulin wrote: ... are u stupid? Next time read the whole mail before posting a reply and you'll know why i'm sending you back a flame. Mathieu Dumoulin Groupimage Communications (http://www.groupimage.com/) T: (514) 353-9595 // F: (514) 353-9550 // C: (514) 880-1442 Mathieu, did you forge

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

FW: [PHP] Dynamic Class Methods

2004-09-07 Thread Dan Joseph
I am not nearly as stupid as you are. You're the one who can't get it to work, not me. -Dan Joseph -Original Message- From: Mathieu Dumoulin [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 07, 2004 10:56 AM To: 'Dan Joseph' Subject: RE: [PHP] Dynamic Class Metho

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

[PHP] Dynamic Class Methods

2004-09-07 Thread 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 and it returns the ident to run the functio