Miscellaneous
get()
Signature
Section titled “Signature”get() — returns any
Description
Section titled “Description”Returns the current setting for the supplied Wheels setting or the current default for the supplied Wheels function argument.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | yes | — | Variable name to get setting for. |
functionName | string | yes | — | Function name to get setting for. |
Examples
Section titled “Examples”get(name [, functionName ]) <!--- 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")>