View Single Post
  #38 (permalink)  
Old 04-29-2008, 08:01 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

inheritance


Probably the greatest feature of the PHP OOP model is Inheritance. Inheritance is the ability of PHP to extend classes (child classes) that inherit the characteristics of the parent class. The resulting object of an extend class has all the characteristics of the parent class, plus whatever is in the new child, or extended class.

The most common is simplifying and reducing instances of redundant code that is code reusability.
__________________
Thanks & Regards,
Jegan CBK
"We will either find a way, or make one!”
Reply With Quote