• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/controller/itemexport.php
  • Класс: Bitrix\Crm\Controller\ItemExport
  • Вызов: ItemExport::generateDownloadLink
protected function generateDownloadLink(): Main\Web\Uri
{
	$params = [
		'PROCESS_TOKEN' => $this->processToken,
		'EXPORT_TYPE' => $this->exportType,
		'COMPONENT_NAME' => $this->componentName,
		'entityTypeId' => $this->entityTypeId,
		'categoryId' => $this->categoryId,
	];

	return $this->getActionUri(self::ACTION_DOWNLOAD, $params);
}