Joe Lakey wrote, On 6/11/2007 12:37 PM:
If a function within a CFC calls another function within the same CFC, is it necessary to qualify the function call with "this" or "variables"? What if there is a known possibility of a name collision with a function outside of the CFC?
As Brian mentioned, there isn't really a possibility of collision. You may have the same name, but you will need to prefix that call with the name of the object it's contained in.
I don't generally bother scoping them - I don't see a point or any usefulness in immediately knowing whether a function is public or private when I'm using it within its own CFC.
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]
