checkDiscountId
boolean|string public static \Bitrix\Sale\Internals\DiscountCouponTable::checkDiscountId( integer $value, array|integer $primary, array $row, \Bitrix\Main\Entity\Field $field );
Method checks field with disocunt ID. Static method.
Parameters
Parameter | Description | Version |
---|---|---|
$value | Current field value with discount ID. | |
$primary | Primary entry key. | |
$row | Array with updated values. | |
$field | Object field. |
Example
© «Bitrix24», 2001-2025