• Модуль: location
  • Путь к файлу: ~/bitrix/modules/location/lib/repository/location/cache.php
  • Класс: BitrixLocationRepositoryLocationCache
  • Вызов: Cache::findById
public function findById(int $locationId, string $languageId)
{
	$result = null;
	$externalIndex = $this->createIdIndex($locationId, $languageId);

	if(isset($this->idMap[$externalIndex]))
	{
		$result = $this->pool->getItem($this->idMap[$externalIndex]);
	}

	return $result;
}