invoke

Invokes a component method and returns the result of the invoked method.

invoke(cfcInstance, methodName [, arguments]) → returns any

Argument Reference for the invoke function

cfcinstance

Required: Yes
Name or instance of a CFC.

methodname

Required: Yes
The name of the method to invoke.

arguments

Required: No
A struct of arguments to pass into the method.


Fork me on GitHub