Re: [PHP] Object composition and reference

2002-09-06 Thread Dan Ostrowski
Well this is just a suggestion since I am in the middle of some PostgreSQL learning and I don't entirely know your situation.. BUT... In times like this, I usually build one MASTER OBJECT to controll all the other little happy citizen objects like mindless sheep. For instance. At one point I ne

[PHP] Object composition and reference

2002-09-06 Thread Paul Smith
I'm compositing a class based on other classes. The component classes are (this is for a transportation application) fuel and vehicle. The container class is mode (as in mode of transit: rail, bus, etc.). There can be several vehicles and fuels for each mode (many to one). I want to be able to