What do you find more comfortable?
View Single Post
03-19-2008, 03:42 PM
Join Date: Dec 2007
Originally Posted by
This is noobish but what does the :: do?
It grabs a method/member from a class, such as a member would be a variable, and a method would be a function. Its just encapsulation differences. :: is a double resolution or so as double colon, in hebrew it gives you an error ( 'Paarayadim Neuktodrim' ) something rather, so many are confused at that. Anyway, its just to grab a certain method/member from a class, thats it.
PS a property is also a variable. thus either way
Gah, maybe I need to stay off the computer for 20 years.
"The reasonable man adapts himself to the conditions that surround him... The unreasonable man adapts surrounding conditions to himself... All progress depends on the unreasonable man." - George Bernard Shaw
View Public Profile
Send a private message to Orc
Visit Orc's homepage!
Find More Posts by Orc