Is there any other way to access a static variable from a static method, other than using classname::$variable?
Worked perfectly. Thanks!
Adam
2010-05-12 10:26:51
+1
A:
If it is different class:
classname::$variable
If it is same class:
self::$variable
Sarfraz
2010-05-12 10:18:43