I worked with the Joomla framework, and I noticed that they use the convention to denote private or protected methods (they put an underscore _ in front of the method name), but they are not explicitly indicated to declare any methods public , private or protected . Why is this? Is it related to portability? Are the public , private or protected keywords inaccessible in older versions of PHP?
php encapsulation
Steven Oxley Oct 13 '08 at 4:44 2008-10-13 04:44
source share