mirror of
https://github.com/php/presentations.git
synced 2026-03-24 15:42:33 +01:00
Ok, the commit that breaks everything! I have split pres2 up into pres2/ and presentations/ in CVS. I have put all the slides into a sub-dir of the presentations/ directory the location of which you configure in config.php. I have also changed it so that any image or example filename is relative to the current slide's own directory. I have gone through and changed all the existing presentations, but doublecheck to make sure I got them all please.
15 lines
422 B
XML
15 lines
422 B
XML
<slide title="Aggregation">
|
|
<blurb>
|
|
Aggregation is the idea of one object using another object instance to invoke
|
|
some functionality, as opposed to inheritance. In PHP aggregation is currently
|
|
implemented by aggregation functions, which allow you to add methods to an
|
|
object at runtime.
|
|
</blurb>
|
|
|
|
<example
|
|
fontsize="1.2em"
|
|
title="Adding a method to Simple"
|
|
type="php"
|
|
filename="aggregate.php"/>
|
|
</slide>
|