• Модуль: location
  • Путь к файлу: ~/bitrix/modules/location/lib/repository/location/strategy/save.php
  • Класс: BitrixLocationRepositoryLocationStrategySave
  • Вызов: Save::setLocationRepositories
public function setLocationRepositories(array $locationRepositories): Base
{
	$idx = 0;

	foreach($locationRepositories as $repository)
	{
		if($repository instanceof ISave)
		{
			$key = (string)$this->getRepoPriority($repository) . (string)($idx++);
			$this->locationRepositories[$key] = $repository;
		}
	}

	ksort($this->locationRepositories);
	return $this;
}