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/');
© «Bitrix Inc.»,
2001-2021,
«Bitrix Inc.», 2021
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.