Nope. You could create a method called setCurrentMethod() and call it with the method name in all your methods -- but, that is, of course, ugly.
> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of Justin Balog > Sent: Monday, August 04, 2003 4:07 PM > To: '[EMAIL PROTECTED]' > Subject: RE: [CFCDev] getMetaData() > > > Yes it will, which I found out. I just figured everyone was getting tired > of my one man conversation....so I did not post my reply, to my reply. Do > you know of a way to get at that information? > > -----Original Message----- > From: Nathan Dintenfass [mailto:[EMAIL PROTECTED] > Sent: Monday, August 04, 2003 4:58 PM > To: [EMAIL PROTECTED] > Subject: RE: [CFCDev] getMetaData() > > > Won't that return the component name rather than the method name? > > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Behalf Of Justin Balog > > Sent: Monday, August 04, 2003 2:51 PM > > To: '[EMAIL PROTECTED]' > > Subject: RE: [CFCDev] getMetaData() > > > > > > Reply to my own post, but just to make sure that I am not doing anything > > really wrong. > > > > <CFCOMPONENT name="foo"> > > <CFFUNCTION name="bar"> > > getMetaData(this).name ----- Will do what I want it to do > > </CFFUNCTION> > > </CFCOMPONENT > > > > > > -----Original Message----- > > From: Justin Balog [mailto:[EMAIL PROTECTED] > > Sent: Monday, August 04, 2003 3:28 PM > > To: '[EMAIL PROTECTED]' > > Subject: [CFCDev] getMetaData() > > > > > > > > I know that getMetaData() returns quite a bit about the component in > > general, but is their a way to get the specific method that the > > getMetaData() is in? > > > > Example: > > <CFCOMPONENT name="foo"> > > <CFFUNCTION name="bar"> > > getMetaData() -----Would return bar, the name of the > > function that getMetaData is being called from? > > </CFFUNCTION> > > </CFCOMPONENT> > > > > I have looked around MM.com and have found limited info, any link or > > anything would help. > > > > Thanks in advance, ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com).
