Documentation

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

ParameterDescriptionVersion
$subscribeIdSubscription ID.

Exceptions

  • \Bitrix\Main\ArgumentException

Example



© «Bitrix24», 2001-2024