CCrmExternalChannelImportPreset::getPresetCountryById

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmExternalChannelImportPreset
  4. getPresetCountryById
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/rest/externalchannelimportpreset.php
  • Класс: Bitrix\Crm\Rest\CCrmExternalChannelImportPreset
  • Вызов: CCrmExternalChannelImportPreset::getPresetCountryById
protected function getPresetCountryById($countryId)
{
	$arCounries = array();
	include($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/countries.php");

	return array_search($countryId, $arCounries);
}

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