• Модуль: location
  • Путь к файлу: ~/bitrix/modules/location/lib/service/locationservice.php
  • Класс: BitrixLocationServiceLocationService
  • Вызов: LocationService::findByExternalId
public function findByExternalId(string $externalId, string $sourceCode, string $languageId, int $searchScope = LOCATION_SEARCH_SCOPE_ALL)
{
	$result = false;

	try
	{
		$result = $this->repository->findByExternalId($externalId, $sourceCode, $languageId, $searchScope);
	}
	catch (RuntimeException $exception)
	{
		$this->processException($exception);
	}

	return $result;
}