• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/engine/response/bfile.php
  • Класс: BitrixMainEngineResponseBFile
  • Вызов: BFile::__construct
public function __construct(array $file, $name = null)
{
	$this->file = $file;
	if ($name === null)
	{
		$name = $this->file['ORIGINAL_NAME'];
	}

	parent::__construct(null, $name, $this->file['CONTENT_TYPE']);
}