• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/location/import/import.php
  • Класс: BitrixSaleLocationImportis
  • Вызов: is::getExistedTypes
static function getExistedTypes()
{
	$existed = array();
	$res = LocationTypeTable::getList(array('select' => array('ID', 'CODE', 'SORT')));
	while($item = $res->fetch())
		$existed[$item['CODE']] = $item['ID'];

	return $existed;
}