User Guide

cffunction 179
cffunction
Description
Defines a function that you can call in CFML. Required to define ColdFusion component
methods.
History
ColdFusion MX 7: Added the XML value to the returntype attribute.
ColdFusion MX: Added this tag.
Category
Extensibility tags
Syntax
<cffunction
name = "methodName"
returnType = "dataType"
roles = "securityRoles"
access = "methodAccess"
description = "function description"
output = "yes" or "no"
displayName = "name"
Hint = "hint text">
See also
cfargument, cfcomponent, cfinvoke, cfinvokeargument, cfobject, cfproperty,
cfreturn