DuplicateCommunicationCriterion::prepareMatchHash

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. DuplicateCommunicationCriterion
  4. prepareMatchHash
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/integrity/duplicatecommunicationcriterion.php
  • Класс: Bitrix\Crm\Integrity\DuplicateCommunicationCriterion
  • Вызов: DuplicateCommunicationCriterion::prepareMatchHash
static function prepareMatchHash(array $matches)
{
	$value = isset($matches['VALUE']) ? $matches['VALUE'] : '';
	$type = isset($matches['TYPE']) ? $matches['TYPE'] : '';
	return $value !== '' ? md5("{$type};{$value}") : '';
}

Добавить комментарий