You are viewing documentation for v1.0.x. Change

get()

Description

Returns the current setting for the supplied variable name.

Function Syntax

get(name [, functionName ])

Parameters

Parameter Type Required Default Description
name string Yes Variable name to get setting for.
functionName string No Function name to get setting for.

Examples

<!--- Get the current setting for the `tableNamePrefix` variable --->
<cfset setting = get("tableNamePrefix")>

<!--- Get the default for the `message` argument on the `validatesConfirmationOf` method --->
<cfset setting = get(functionName"validatesConfirmationOf", name="message")>