At 12:09 PM 4/5/2004, you wrote: >Your two choices are... One, to implement your one clone method inside your CFC.
How would the clone method work? Return a duplicated copy of itself? Here's the usage scenario: I have 1 CFC (InterfaceManager.cfc, stored in the application scope) with several instances of another CFC (Interface.cfc), each stored in a key of a struct. I'd like to point to a key in the struct, and return a COPY of that object, instance data, methods and all. Any ideas? Thanks much! >Or two, use BlueDragon which properly implemented the duplicate function. > >-Matt > > >On Apr 5, 2004, at 11:56 AM, Alexander Sherwood wrote: > >>Please help: >> >>Just realized that using Duplicate() on an instance of a CFC returns a bare struct. >>Apart from creating a new object, is there a way to copy create an instance of a CFC >>from an existing instance (that copied by value, no by reference)? >> >>Any help would be massively appreciated. >> >>Thanks! >> >>---------------------------------- >>Alex Sherwood >>PHS Collection Agency >>THE COLLECTORS >>P: 813-283-4579 >>F: 301.664.6834 >>W: www.phs-net.com >> >>---------------------------------------------------------- >>You are subscribed to cfcdev. To unsubscribe, send an email >>to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' >>in the message of the email. >> >>CFCDev is run by CFCZone (www.cfczone.org) and supported >>by Mindtool, Corporation (www.mindtool.com). >> >>An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED] > >---------------------------------------------------------- >You are subscribed to cfcdev. To unsubscribe, send an email >to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. > >CFCDev is run by CFCZone (www.cfczone.org) and supported >by Mindtool, Corporation (www.mindtool.com). > >An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED] ---------------------------------- Alex Sherwood PHS Collection Agency THE COLLECTORS P: 813-283-4579 F: 301.664.6834 W: www.phs-net.com ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
