3-1-Tags:CFFunction

last edited byusericonlmajano on 23-Aug-2009

Contents

cffunction

Description

Defines table column header, width, alignment, and text. Used only inside a cftable.

Category

Other

Implemented

Usage Syntax

<cffunction  
	name="String"
	[returnType="String"]
	[roles="String"]
	[access="String"]
	[output="Boolean"]
	[displayname="String"]
	[hint="String"]
	[abstract="Boolean"]
	[description="String"]
	[throws="String"]
	[returnFormat="String"]
	[description="String"]
	[secureJson="Boolean"]
	[verifyClient="Boolean"]
 />

[] = Optional attribute

Attributes

Name Type Required Default Description
name String Yes A string; a component method that is used within the cfcomponent tag.
returnType String No String; a type name; data type of the function return value
roles String No This attribute is used only for a component. A comma-delimited list of ColdFusion security roles that can invoke the method. If this attribute is omitted, all roles can invoke the method.
access String No This attribute is used only for a component. The client security context from which the method can be invoked
output Boolean No This attribute is used only for a component. yes: the function is processed as if it were within a cfoutput tag no: the function is processed as if it were within a cfsilent tag
displayname String No Display Name of the Function
hint String No Hint of the Function
abstract Boolean No is the function abstract or not, abstract functions are only allowed inside interface a component tags
description String No description of the Function
throws String No Exceptions throwd by the function
returnFormat String No
description String No
secureJson Boolean No
verifyClient Boolean No

Example Usage

 
Download in other Formats:
markup Markup | pdf PDF | html HTML | word Word

comments Comments (0)

You need to login in order to comment!