PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Примери> <Object Aggregation
Last updated: Fri, 27 Jun 2008

view this page in

Въведение

Предупреждение

Това разширение е ЕКСПЕРИМЕНТАЛНО. Поведението на разширението -- включително имената на функциите и всичко останало, което е документирано за това разширение -- може да се промени без предупреждение в бъдеща версия на PHP. Използвайте това разширение на собствена отговорност.

In Object Oriented Programming, it is common to see the composition of simple classes (and/or instances) into a more complex one. This is a flexible strategy for building complicated objects and object hierarchies and can function as a dynamic alternative to multiple inheritance. There are two ways to perform class (and/or object) composition depending on the relationship between the composed elements: Association and Aggregation.



add a note add a note User Contributed Notes
Въведение
There are no user contributed notes for this page.

Примери> <Object Aggregation
Last updated: Fri, 27 Jun 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites