runCustomization()
Overview
public any function runCustomization(
required string objectName
, required string action
, struct args
, string defaultHandler = ""
, any defaultResult
)
Runs the coldbox event for the given object/customization action
Arguments
Name | Type | Required | Description |
---|---|---|---|
objectName | string | Yes | Name of the object |
action | string | Yes | Name of the customization action |
args | struct | No | Args struct to pass through to the customization handler action |
defaultHandler | string | No (default="") | Default handler to run should the object not have its own |
defaultResult | any | No |