Most commonly used for shared elements of code between multiple classes. e.g a Base class might have a method for url encoding and the DDL class might have a method retuning a download url (urlencoded)
SplitIce Reviewed by SplitIce on . What is the point of the php extends in relation to classes? I just don't get it. Why create one class, eg class user{ function login(){ //login stuff } } then use the extends keyword like so Rating: 5