$announceInterception()

Overview

public any function $announceInterception(
      required string state        
    ,          struct interceptData
)

Proxy to Coldbox's InterceptorService.processState() method.

Example

$announceInterception( "onFormBuilderFormSubmission", formSubmissionData );

Arguments

NameTypeRequiredDescription
statestringYes
interceptDatastructNo