DuplicatePersonCriterion::createFromMatches

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. DuplicatePersonCriterion
  4. createFromMatches
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/integrity/duplicatepersoncriterion.php
  • Класс: Bitrix\Crm\Integrity\DuplicatePersonCriterion
  • Вызов: DuplicatePersonCriterion::createFromMatches
static function createFromMatches(array $matches)
{
	$lastName = isset($matches['LAST_NAME']) ? $matches['LAST_NAME'] : '';
	$name = isset($matches['NAME']) ? $matches['NAME'] : '';
	$secondName = isset($matches['SECOND_NAME']) ? $matches['SECOND_NAME'] : '';

	return new DuplicatePersonCriterion($lastName, $name, $secondName);
}

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