Skip to content

Miscellaneous

get()

get() — returns any

Returns the current setting for the supplied Wheels setting or the current default for the supplied Wheels function argument.

NameTypeRequiredDefaultDescription
namestringyesVariable name to get setting for.
functionNamestringyesFunction name to get setting for.
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")>