This is with reference to Get a static property of an instance, I am a newbie and have the following code :
class Foo { public static $my_static = 1; } class
within the class you have to use like self::$staticPropery if the function accessing to the variable is also static.