All pages
Powered by GitBook
1 of 1

BoxRegisterInterceptionPoints

You can use this BIF to register custom interception points into either the "global" or the "request" interceptor pools.

Example:

 boxRegisterInterceptionPoints( "onOrderComplete" )
 boxRegisterInterceptionPoints( [ "onOrderComplete", "preOrder" ] )
 

Method Signature

BoxRegisterInterceptionPoints(states=[any], poolname=[string])

Arguments

Argument
Type
Required
Description
Default

states

any

false

The states to register the interception points for.

[]

poolname

string

false

The name of the interceptor pool to register the event to. Default is "global". Available pools are "global" and "request".

global

Examples

Related

  • ApplicationRestart

  • ApplicationStartTime

  • ApplicationStop

  • BoxAnnounce

  • BoxAnnounceAsync

  • BoxModuleReload

  • BoxRegisterInterceptor

  • BoxRegisterRequestInterceptor

  • BoxUnregisterInterceptor

  • BoxUnregisterRequestInterceptor

  • CallStackGet

  • CreateGUID

  • CreateObject

  • CreateUUID

  • DE

  • DebugBoxContexts

  • Dump

  • Duplicate

  • echo

  • EncodeForHTML

  • GetApplicationMetadata

  • GetBaseTagData

  • GetBaseTagList

  • GetBaseTemplatePath

  • GetBoxContext

  • GetBoxRuntime

  • GetBoxVersionInfo

  • GetClassMetadata

  • GetComponentList

  • GetContextRoot

  • GetCurrentTemplatePath

  • GetFileFromPath

  • GetFunctionCalledName

  • GetFunctionList

  • GetModuleInfo

  • GetModuleList

  • GetRequestClassLoader

  • GetSemver

  • GetSystemSetting

  • GetTempDirectory

  • GetTickCount

  • htmlEditFormat

  • IIF

  • Invoke

  • IsInstanceOf

  • JavaCast

  • ObjectDeserialize

  • ObjectSerialize

  • PagePoolClear

  • Print

  • Println

  • RunThreadInContext

  • SessionInvalidate

  • SessionRotate

  • SessionStartTime

  • Sleep

  • SystemCacheClear

  • SystemExecute

  • SystemOutput

  • Throw

  • Trace

  • URLDecode

  • URLEncodedFormat

  • writeDump

  • WriteLog

  • WriteOutput