Adobe Community
All community
This category
This board
Knowledge base
Users
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results forÂ
ShowÂ
 onlyÂ
|
Search instead forÂ
Did you mean:Â
Global community
Language:
Deutsch
English
Español
Français
Português
日本語コミュニティ
Dedicated community for Japanese speakers
í•œêµ ì»¤ë®¤ë‹ˆí‹°
Dedicated community for Korean speakers
Sign In
Exit
Home
ColdFusion
Discussions
Retrieving name of calling Function
Home
ColdFusion
Discussions
Retrieving name of calling Function
0
Upvote
Retrieving name of calling Function
Jwahl
Explorer
,
/t5/coldfusion-discussions/retrieving-name-of-calling-function/td-p/623575
Mar 22, 2007
Mar 22, 2007
Copy link to clipboard
Copied
I have 2 function in the same CFC that calls another function in the same CFC.
IS there anyway to get the name of the one of the first function(the callers) from the second?
OR
is there anyway inside of a Function to retrieve it name?
TOPICS
Advanced techniques
Views
331
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
1 Correct answer
insuractive
Advocate
,
Mar 22, 2007
Mar 22, 2007
insuractive
•
Advocate
,
Mar 22, 2007
Mar 22, 2007
This looks right up your alley:
http://www.bennadel.com/blog/406-Determining-Which-Function-Called-This-Function-Using-ColdFusion-.htm
Votes
0
Upvote
Translate
Translate
Jump to answer
4 Replies
4
Jump to latest reply
Anthony Spears
Explorer
,
/t5/coldfusion-discussions/retrieving-name-of-calling-function/m-p/623576#M58439
Mar 22, 2007
Mar 22, 2007
Copy link to clipboard
Copied
I would just include an additional argument and pass the name of the function that is making the call in that argument.
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Jwahl
AUTHOR
Explorer
,
/t5/coldfusion-discussions/retrieving-name-of-calling-function/m-p/623577#M58440
Mar 22, 2007
Mar 22, 2007
Copy link to clipboard
Copied
I was hoping there was a caller variable scope like in CustomTags
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Correct answer by
insuractive
Advocate
,
/t5/coldfusion-discussions/retrieving-name-of-calling-function/m-p/623578#M58441
Mar 22, 2007
Mar 22, 2007
Copy link to clipboard
Copied
This looks right up your alley:
http://www.bennadel.com/blog/406-Determining-Which-Function-Called-This-Function-Using-ColdFusion-.h...
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Jwahl
AUTHOR
Explorer
,
/t5/coldfusion-discussions/retrieving-name-of-calling-function/m-p/623579#M58442
Mar 22, 2007
Mar 22, 2007
Copy link to clipboard
Copied
LATEST
That works great.. and what I call out of the box!
I Like it !!!!!!!!!!!!!!!!
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Post Reply
Preview
Exit Preview
never-displayed
You must be signed in to add attachments
never-displayed
Â
Resources
Documentation
ColdFusion User Guide