Is there a way that a method within a Class, when called statically, can
access a property of that Class?

   Class Foo
   {
      var $_TintBaz = 9;

      function getBaz()
      {
         return Foo::_TintBaz;   // <-- line 8
      }
   }

echo Foo::getBaz();

This returns...

    Parse error: parse error, unexpected ';', expecting '('
    in test 02.php on line 8

And of course, can't use 'return Foo::_TintBaz;' in a statically called
Class.

Is there any hope?

Thanks

Walter

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to