BX.onCustomEvent
This function allows two variants of input parameters.
void BX.onCustomEvent( Object eventObject, string eventName[, Array arEventParams] );
void BX.onCustomEvent( string eventName[, Array arEventParams] );
This function calls all handlers for the eventName event for the eventObject, as well as all global handlers (assigned without specifying the object). If an object in which an event occurs, is not specified, then only global handlers will be called. The handler will be executed within the context of the object context, where the event was occurred. Values from the arEventParams array will be passed as input parameters of the handler.
© «Bitrix24», 2001-2024