D7 API documentation
What's New
Modules
Catalog in the old core
calculateAvailable
clearProductCache
getCurrentRatioWithMeasure
getDefaultAvailableSettings
getMap
getPaymentPeriods
getPaymentTypes
getProductTypes
getTableName
isExistProduct
loadDefaultProductSettings
prepareCanBuyZero
prepareQuantityTrace
prepareSubscribe
validatePriceType
validatePurchasingCurrency
validateRecurSchemeType
validateTmpId
prepareSubscribe
string public static \Bitrix\Catalog\ProductTable::prepareSubscribe( string $value );
Method gets value for the field SUBSCRIBE
(subscription permission) and, if equals D
, returns module's field setting SUBSCRIBE
instead of current value. Service static method.
Parameters
Parameter | Description | Version |
---|---|---|
$value | SUBSCRIBE field value. |
Example
© «Bitrix24», 2001-2024
Up