DuplicateCommunicationCriterion::sanitizePhone

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. DuplicateCommunicationCriterion
  4. sanitizePhone
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/integrity/duplicatecommunicationcriterion.php
  • Класс: Bitrix\Crm\Integrity\DuplicateCommunicationCriterion
  • Вызов: DuplicateCommunicationCriterion::sanitizePhone
static function sanitizePhone($value)
{
	return preg_replace("/[^0-9\#\*,;]/i", "", $value);
}

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