checkAccessToSubscription
boolean public \Bitrix\Catalog\Product\SubscribeManager::checkAccessToSubscription( integer $subscribeId );
Method checks access to subscription via user ID or access code. Administrators always have access. Non-static method.
Parameters
Parameter | Description | Version |
---|---|---|
$subscribeId | Subscription ID. |
Exceptions
- \Bitrix\Main\ArgumentException
Example
© «Bitrix24», 2001-2024