• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Name

cffunction

Synopsis

[<cfcomponent>]
  <cffunction>
    [<cfargument>]
    ...
  ...
  </cffunction>
  ...
[<cfcomponent>]

Creates a tag-based user-defined function (UDF) or a component method for a ColdFusion Component (CFC). The terms “function” and “method” are used interchangeably.

Besides the named attributes listed in the “Attributes” section, you can pass any additional desired attributes to the cffunction tag as user-defined attributes. Although these attributes don’t do anything, they are available as metadata when the component containing the method is introspected using the GetMetaData( ) function. You may use any attribute names you wish with the exception of those reserved by cffunction: name, displayname, hint, returntype, roles, access, output, and arguments.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint