NYCPHP Meetup

NYPHP.org

[nycphp-talk] Re:Intellectual Monday

Nate Abele nate at cakephp.org
Tue Jan 23 12:40:08 EST 2007


We just implemented this thing in Cake where you can effectively add  
one object to another, such that all the public methods of the first  
object are available in the second.  It uses magic methods, and it's  
kind of a hack (and you can't overload methods in the base class or  
anything), but it works on PHP4 and 5.

- Nate



More information about the talk mailing list