Skip to content

icms_file_DownloadHandler

Raimondas Rimkevičius edited this page Mar 9, 2020 · 1 revision
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!

icms_file_DownloadHandler

Sends non HTML files through a http socket

  • Class name: icms_file_DownloadHandler
  • Namespace:
  • This is an abstract class

Properties

$mimetype

protected mixed $mimetype
  • Visibility: protected

$ext

protected mixed $ext
  • Visibility: protected

$archiver

protected mixed $archiver
  • Visibility: protected

Methods

__construct

mixed icms_file_DownloadHandler::__construct()

Constructor

  • Visibility: public

_header

mixed icms_file_DownloadHandler::_header(string filename)

Send the HTTP header

  • Visibility: protected

Arguments

  • filename string

addFile

mixed icms_file_DownloadHandler::addFile(string filepath, string newfilename)
  • Visibility: public
  • This method is abstract.

Arguments

  • filepath string
  • newfilename string

addBinaryFile

mixed icms_file_DownloadHandler::addBinaryFile(string filepath, string newfilename)

addBinaryFile()

  • Visibility: public
  • This method is abstract.

Arguments

  • filepath string
  • newfilename string

addFileData

mixed icms_file_DownloadHandler::addFileData(mixed data, string filename, int time)

addFileData()

  • Visibility: public
  • This method is abstract.

Arguments

  • data mixed
  • filename string
  • time int

addBinaryFileData

mixed icms_file_DownloadHandler::addBinaryFileData(mixed data, string filename, int time)

addBinaryFileData()

  • Visibility: public
  • This method is abstract.

Arguments

  • data mixed
  • filename string
  • time int

download

mixed icms_file_DownloadHandler::download(string name, bool gzip)

download()

  • Visibility: public
  • This method is abstract.

Arguments

  • name string
  • gzip bool
Clone this wiki locally