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/');


User Comments

User comments are not part of official documentation. Use information provided by other users in the comments at your own risk.

The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.
© «Bitrix Inc.», 2001-2019, «Bitrix Inc.», 2019