Documentation

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

ParameterDescriptionVersion
$valueCurrent field value.
$primaryPrimary entry key.
$rowArray of updated values.
$fieldObject field.

Example



© «Bitrix24», 2001-2024
Up