initUseMode
void public static \Bitrix\Sale\DiscountCouponsManager::initUseMode( integer $mode = self::MODE_CLIENT, array $params = array() );
Method sets coupon handling mode and user ID. Static method.
Parameters
Parameter | Description | Version |
---|---|---|
$mode | Coupon mode. | |
$params | Array with original parameters. Keys are case-sensistive:
|
Example
© «Bitrix24», 2001-2024