Documentation

BX24.callBind

BX24.callBind(
 String event,
 String handler[,
 Integer auth_type[,
 Function callback]]
);

Interface for the event.bind method that registers a new event handler.

Only works for users with portal administration permissions.

Parameters

Parameter Description
event Event name. Required.
handler Link to event handler. Required.
auth_type User ID that authorizes event handler. Parameter type: not required. By default will use authorization of user who triggered the event.
callback Method call result handler function. Parameter type: not required.

Example:

BX24.callBind('OnAppUninstall', 'http://www.my-domain.com/handler/');


© «Bitrix24», 2001-2022
Up