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

	try
	{
		$result = $this->repository->autocomplete($params, $searchScope);
	}
	catch (RuntimeException $exception)
	{
		$this->processException($exception);
	}

	return $result;
}