get()
Description
Returns the current setting for the supplied Wheels setting or the current default for the supplied Wheels function argument.
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 value for the `tableNamePrefix` Wheels setting --->
<cfset setting = get("tableNamePrefix")>
<!--- Get the default for the `message` argument of the `validatesConfirmationOf` method --->
<cfset setting = get(functionName="validatesConfirmationOf", name="message")>
