Re: T_PAAMAYIM_NEKUDOTAYIM

From: Date: Mon, 16 Dec 2002 20:04:00 +0000
Subject: Re: T_PAAMAYIM_NEKUDOTAYIM
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-92533@lists.php.net to get a copy of this message
On Mon, 16 Dec 2002 20:55:49 +0100 (CET) Derick Rethans <derick@php.net> wrote: > > And keep an access to $this from inside the object calling the > > external method because my parsing is actually recursive. > > $this only works for instanciated classes, not static method calls. Indeed, you may change the call inside the class using foo::bar() too, and you can still not access to the object properties. Auth and HTML_Javascript use this kind of calls. pierre

« previous php.dev (#92533) next »