My First Class - Any Good?
View Single Post
07-14-2008, 04:27 PM
Join Date: Oct 2007
Location: Manchester, UK
Static methods/variables and class constants are bound to the class therefore we must use
to reference the current
however references the current
not class, remember there is a fundamental difference between the two; that is why you can't use
to access methods/properties marked as static or class constants because they are bound to the class not the object.
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
The Following User Says Thank You to sketchMedia For This Useful Post:
View Public Profile
Send a private message to sketchMedia
Visit sketchMedia's homepage!
Find More Posts by sketchMedia