checkType
boolean|string public static \Bitrix\Catalog\DiscountTable::checkType( integer $value, integer|array $primary, array $row, \Bitrix\Main\Entity\Field $field );
Method checks the field TYPE
(discount type: standard or cumulative). Static method.
Parameters
Parameter | Description | Version |
---|---|---|
$value | Current field value. | |
$primary | Primary entry key. | |
$row | Array of updated values. | |
$field | Object field. |
Example
© «Bitrix24», 2001-2024
Up