Miscellaneous
beforeDelete()
Signature
Section titled “Signature”beforeDelete() — returns any
Description
Section titled “Description”Registers method(s) that should be called before an object is deleted.
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 beforeDelete("fixObj")>