Of using a property as a cfc? That's easy enough - imagine this in your constructor...
<cfset this.soul = createObject("component","soul")> When you create this CFC, it will have a property call soul which is a component named soul. If soul had a method, die, you could then do: <cfset x = createObject("component","human")> <cfset x.soul.die()> ======================================================================= Raymond Camden, ColdFusion Jedi Master for Macromedia Email : [EMAIL PROTECTED] Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: Stacy Young [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 11, 2002 12:55 PM > To: CF-Talk > Subject: RE: Examples of Inheritance? > > > Hi Ray, > > Any examples handy? My procedural mindset is hindering my > brain's ability to > get my head around this approach. :( > > Stace > > > -----Original Message----- > From: Raymond Camden [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 11, 2002 12:25 PM > To: CF-Talk > Subject: RE: Examples of Inheritance? > > Why not make transaction a type - and report a property. The property > would be of type Foo, which is one of the three type reports. Don't > forget that a CFC property can also be a CFC itself. > > -ray > > > > > > Here's the tricky part (for me). Each of these three > reports could be > > applied to 4 different types of transactions...One kind is an > > authorization > > another is a credit etc.. > > > > So...I'm torn between extending each report TYPE to have a > > sub-classes of > > auth,settle,credit and failed OR having AUTH,SETTLE,CREDIT > and FAILED > > objects which are then extended based on the type of report it is... > > > > Report Object -> Report Type -> Transaction Type > > > > Or > > > > Report Object -> Transaction Type -> Report Type > > > > Going forward I'm sure there will be additional report types > > but very rarely > > would there be additional transaction types added to the equation. > > > > > ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists