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

	$externalIndex = $this->createExternalIdIndex($externalId, $sourceCode, $languageId);

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

	return $result;
}