Documentation

BX24.callUnbind

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

Interface for the event.unbind method, which registers the new event handler.

Note: Works only for users with portal administration permissions.

Parameters

Parameter Description
event Event name. Not required.
handler Link to event handler. Not required.
auth_type User ID authorizing the event handler. Not required.
Note: if an event handler installed with empty auth_type (authorized on behalf of the user calling the event) needs to be deleted, but the other handlers need to be kept, specify either auth_type=0 or an empty value of the parameter. If an event handler for all users needs to be deleted, specify null.
callback Method call results handler function. Not required.

Example:

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


© «Bitrix24», 2001-2024
Up