User Guide

610 Chapter 3: ColdFusion Functions
Example
If an event gateways helper class includes an addBuddy method that takes a single String
parameter, you could use the following code to get the GatewayHelper object and add a buddy to
the buddies list:
<h3>GetGatewayHelper Example</h3>
<cfscript>
myHelper = getGatewayHelper(myGatewayID);
status = myHelper.addBuddy(“jsmith”);
</cfscript>