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

NameTypeRequiredDescription
objectNamestringYesName of the object
actionstringYesName of the customization action
argsstructNoArgs struct to pass through to the customization handler action
defaultHandlerstringNo (default="")Default handler to run should the object not have its own
defaultResultanyNo