RE: [PHP] calling static method within class

2005-10-28 Thread Carlo Razzeto
If you're expecting the statement Echo Foo::getUs(); To echo "me& me" it will not because you never returned $us from the getUs() method. I'm assuming also that xxx is a variable to mean "some class library" correct? Carlo Razzeto Programmer Mortgage Information Services Phone: (216) 514-1025

Re: [PHP] calling static method within class

2005-10-28 Thread Greg Donald
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