Documentation

reInit

void public static
\Bitrix\Sale\DiscountCouponsManager::reInit(
 integer $mode = self::MODE_CLIENT,
 array $params = array(),
 boolean $clearStorage = false
);

Method reinitializes coupon manager. Static method.

Parameters

ParameterDescriptionVersion
$modeOperation mode.
$paramsArray with original parameters.
$clearStorageWhen true, removes entered coupons on a current hit.

Example



© «Bitrix24», 2001-2024
Up