• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/order/matcher/requisitematcher.php
  • Класс: Bitrix\Crm\Order\Matcher\RequisiteMatcher
  • Вызов: RequisiteMatcher::normalizeHashArray
protected function normalizeHashArray(array $entity)
{
	return [
		'RQ_NAME' => isset($entity['RQ_NAME']) ? (string)$entity['RQ_NAME'] : (string)$entity['NAME'],
		'RQ_PRESET_ID' => isset($entity['RQ_PRESET_ID']) ? (int)$entity['RQ_PRESET_ID'] : (int)$entity['PRESET_ID']
	];
}