No, Ed, it's not. Because from the class's POV, it might have many instances.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ed Griffiths Sent: Friday, December 08, 2006 9:41 AM To: [email protected] Subject: [CFCDEV] Does a CFC know what variable name it's stored within? Hi Quick question. If you store an object in a variable like this: <cfset myObject = createObject("component","testObject").init()> Is it possible to interrogate some method or metadata associated with testObject in order to find out what variable name it has been stored within (myObject in this case)? Thanks for your help, Ed You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/[email protected] You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
