• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/engine/response/bfile.php
  • Класс: BitrixMainEngineResponseBFile
  • Вызов: BFile::prepareOptions
protected function prepareOptions()
{
	return [
		'force_download' => !$this->isShowInline(),
		'cache_time' => $this->getCacheTime(),
		'attachment_name' => $this->getName(),
		'content_type' => $this->getContentType(),
	];
}