View Single Post
12-21-2007, 03:12 PM
Join Date: Oct 2007
Location: Manchester, UK
They are visibilty identifiers
Visibility is similar to variable scope, however, offers finer control. There are three types of visibility.
Public (default) - the variable can be accessed and changed globally by anything.
Protected - the variable can be accessed and changed only by direct descendants (those who inherit it using the extends statement) of the class and class its self
Private - the variable can be accessed and changed only from within the class.
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
Last edited by sketchMedia : 12-21-2007 at
. Reason: copied it from my tutorial and left some stuff in that wasnt needed
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