• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Retrieving name of calling Function

Explorer ,
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
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Advocate , Mar 22, 2007 Mar 22, 2007

Votes

Translate

Translate
Explorer ,
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

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 22, 2007 Mar 22, 2007

Copy link to clipboard

Copied

I was hoping there was a caller variable scope like in CustomTags

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Mar 22, 2007 Mar 22, 2007

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
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

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation