In this new tutorial posted to DevShed, they take a look at working with classes in PHP5, specifically using the keywords for "member visibility" to make your classes a bit more structured.
The previous concept can also be applied successfully when it comes to defining the visibility of properties and methods in PHP classes.
[...] Using the jargon of object-oriented programming, this capacity is widely known as member visibility. This capacity allows PHP programmers to establish whether...