View Single Post
  #28 (permalink)  
Old 04-25-2008, 07:24 AM
jegan jegan is offline
D-Web Sr.Programmer
 
Join Date: Jul 2007
Posts: 161
jegan is on a distinguished road
Default Re: PHP Classes For Beginners

1. Restricting access to class properties (variable).
2. Restricting access to methods.
3. They support the concept of encapsulation, which promotes the idea of hiding functionality.
4. Access modifiers allow you to define who does or doesn’t have access to certain features in class
__________________
Thanks & Regards,
Jegan CBK
"We will either find a way, or make one!”
Reply With Quote