Re: [PHP] Re: Preventing static method calls in PHP4

2004-07-22 Thread Justin Patrin
On Thu, 22 Jul 2004 11:26:44 +0100, Marcus Bointon <[EMAIL PROTECTED]> wrote: > on 22/7/04 10:49, Jason Barnett at [EMAIL PROTECTED] wrote: > > > The easiest way I can think of to prevent static method calls is to use the > > $this pseudo variable in your method. A method *cannot* be used statica

Re: [PHP] Re: Preventing static method calls in PHP4

2004-07-22 Thread Marcus Bointon
on 22/7/04 10:49, Jason Barnett at [EMAIL PROTECTED] wrote: > The easiest way I can think of to prevent static method calls is to use the > $this pseudo variable in your method. A method *cannot* be used statically if > the method requires use of $this. Unfortunately that doesn't work - it is ex

[PHP] Re: Preventing static method calls in PHP4

2004-07-22 Thread Jason Barnett
The easiest way I can think of to prevent static method calls is to use the $this pseudo variable in your method. A method *cannot* be used statically if the method requires use of $this. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php