Copy link to clipboard
Copied
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/10.0/CFMLRef/WSd8001ae4abdbd911-5c900a4e1350d8b2511-8000.html
Copy link to clipboard
Copied
This page should point to the reference page for the CFINVOKE tag, especially for more on the "arguments" (which correspond to tag attributes).
The same would be true for any other functions that are essentially just function-based equivalents of existing CFML tags.
Copy link to clipboard
Copied
Just a couple notes: 1) "cfcinstance" can be an empty string, 2) "arguments" can be an array.
Example:
<cfscript>
function f() {return ARGUMENTS;}
argumentArray = [1,2,3,4,5];
writeDump(invoke("", "f", argumentArray));
</cfscript>
When function defines no arguments, positional order can be maintained via argumentArray.
Thanks!,
-Aaron