Documentation

prepareRow

null|array public static
\Bitrix\Sale\Discount\Formatter::prepareRow(
 integer $type,
 array|string $data
);

Method checks if description matches the format (availability of all fields, necessary for description, deleting redundant fields). Static method.

Parameters

ParameterDescriptionVersion
$typeAction type.
$dataAction's description data.

Example



© «Bitrix24», 2001-2024