Re: calling static method within class

From: Date: Fri, 28 Oct 2005 17:43:07 +0000
Subject: Re: calling static method within class
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-224788@lists.php.net to get a copy of this message
On Fri, 28 Oct 2005, blackwater dev wrote:
I have a class that won't be instantiated...so basically just a bunch of static methods. How do I call one of the class' static methods from within another method? Can't use this, and self doesn't work...this is php4.
Same way you do it outside the class: Foo::getMe(); -- Greg Donald Zend Certified Engineer MySQL Core Certification http://destiney.com/

« previous php.general (#224788) next »