I want to call a private function inside my CFC. All the books say that I
can use a private function like any other built-in function, such as:
<cfif CategoryExists(CategoryName)>
The CategoryExists function has 2 arguments, either the ID or the Name. If I
want to use the above syntax to check for the Name, how would I do that?
I've tried something like:
CategoryExists("", CategoryName)
but my function requires that the 2 arguments are mutually exclusive. If
tried
CategoryExists( , CategoryName)
but that doesn't make much sense. Basically, how can I specify just the Name
argument without defining the ID argument?
Cedric
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at
http://www.coolfusion.com
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4