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.


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.


BX24.callUnbind('OnAppUninstall', '');

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.
© «Bitrix24», 2001-2022