• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/entitybankdetail.php
  • Класс: Bitrix\Crm\EntityBankDetail
  • Вызов: EntityBankDetail::getCountryIdByDuplicateCriterionScope
static function getCountryIdByDuplicateCriterionScope($scope)
{
	$result = 0;
	$scope = strval($scope);

	$matches = array();
	if (preg_match('/^CY_(\d{3})$/', $scope, $matches))
	{
		$result = (int)$matches[1];
	}

	return $result;
}