Documentation

changeActiveByDiscount

void public static
\Bitrix\Sale\Internals\DiscountGroupTable::changeActiveByDiscount(
 integer $discount,
 string $active
);

Method updates active status flag for table entries, associated with discount code $discount. Static method.

Parameters

ParameterDescriptionVersion
$discountDiscount ID.
$activeDiscount active status flag.

Example



© «Bitrix24», 2001-2024
Up