Miscellaneous
beforeValidation()
Signature
Section titled “Signature”beforeValidation() — returns any
Description
Section titled “Description”Registers method(s) that should be called before an object is validated.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
methods | string | yes | — | See documentation for afterNew. |
Examples
Section titled “Examples”<!--- Instruct CFWheels to call the `fixObj` method --->
<cfset beforeValidation("fixObj")>