• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/integrity/duplicatepersoncriterion.php
  • Класс: Bitrix\Crm\Integrity\DuplicatePersonCriterion
  • Вызов: DuplicatePersonCriterion::getMatchHash
public function getMatchHash()
{
	$result = array();
	if($this->lastName !== '')
	{
		$result[] = $this->lastName;
	}
	if($this->name !== '')
	{
		$result[] = $this->name;
	}
	if($this->secondName !== '')
	{
		$result[] = $this->secondName;
	}
	return !empty($result) ? md5(implode(';', $result)) : '';
}