Skip to content

Miscellaneous

beforeDelete()

beforeDelete() — returns any

Registers method(s) that should be called before an object is deleted.

NameTypeRequiredDefaultDescription
methodsstringyesSee documentation for afterNew.
<!--- Instruct CFWheels to call the `fixObj` method --->
<cfset beforeDelete("fixObj")>