Posted by blackwater dev on 10/19/50 11:30
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. Thanks. Class Foo{ function getMe(){ return "me"; } function getUs(){ $us=xxx::getMe(); $us.="& me"; } } echo Foo::getUs();
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming