• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/engine/response/file.php
  • Класс: BitrixMainEngineResponseFile
  • Вызов: File::setContentType
public function setContentType($contentType)
{
	$this->contentType = $contentType;

	return $this;
}