/** * downloads the file * * @param string $name filename to download * @param bool $gzip turn on gzip compression */ public function download($name, $gzip = true) { parent::_header($name . $this->ext); echo $this->archiver->file(); }
public function __construct() { parent::__construct(); $this->_deprecated = icms_core_Debug::setDeprecated('icms_file_DownloadHandler', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); }