• Модуль: translate
  • Путь к файлу: ~/bitrix/modules/translate/lib/controller/export/exportaction.php
  • Класс: BitrixTranslateControllerExportExportAction
  • Вызов: ExportAction::getFullPath
protected function getFullPath(int $pathId): array
{
	if (!isset($this->fullPathCache[$pathId]))
	{
		$this->fullPathCache[$pathId] = [];
		$fileInxRes = TranslateIndexInternalsFileIndexTable::getList([
			'filter' => ['=PATH_ID' => $pathId],
			'order' => ['ID' => 'ASC'],
			'select' => ['LANG_ID', 'FULL_PATH'],
		]);
		while ($fileInx = $fileInxRes->fetch())
		{
			$this->fullPathCache[$pathId][$fileInx['LANG_ID']] = $fileInx['FULL_PATH'];
		}
	}

	return $this->fullPathCache[$pathId];
}