Can somebody tell me how two class associated each other is written in PHP 5 coding? how they declared and how to use their function and variables.
class alpha extends beta
Like that?
Or like this?
' class alpha extends beta ' is a inheritance isn't it?
Yes it is inheritance of course. Is is not what you are looking for?
I am looking for aggregation relation between two classes.
Object aggregation?
thanx for the explanation. And how it is written in PHP 5 coding?
Rtfm