Skip to content

Miscellaneous

beforeCreate()

beforeCreate() — returns any

Registers method(s) that should be called before a new object is created.

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