SubscribeManager
SubscribeManager class for handling subscriptions.
Class methods
Method | Description | Available from version |
---|---|---|
activateSubscription | Activates product subscription by clearing the field DATE_TO or specifying subscription period. |
|
addSubscribe | Adds a new subscription. | |
authorizeSubscriber | Authorizes an anonymous subscriber. | |
checkAccessToSubscription | Checks access to subscription via user ID or access code. Admins always have access. | |
checkSubscriptionActivity | Checks subscription activity by field value DATE_TO . |
|
deactivateSubscription | Deactivates subscriptions by setting the current date and time in the field DATE_TO . |
|
deleteManySubscriptions | Gets list of subscription IDs, deletes multiple subscriptions, checks access permissions. | |
runSubscriberIdentification | Launches identification process for anonymous subscriber. | |
setSessionOfSibscribedProducts | Writes into the session a product ID, subscribed to by user. This method checks if user has already subscribed to this product. | |
unSubscribe | Unsubscribes a user using a specific input data. |
© «Bitrix24», 2001-2024