49 if (!empty($sOutputKey)) {
50 $this->_sOutputKey = $sOutputKey;
71 if (!empty($sOutputFileName)) {
72 $this->_sOutputFileName = $sOutputFileName;
93 $this->_oUtils->toFileCache($this->_sOutputKey, $sResult);
105 $sCurrentKey = (empty($sOutputKey)) ? $this->_sOutputKey : $sOutputKey;
107 return $this->_oUtils->fromFileCache($sCurrentKey);
117 $sCurrentKey = (empty($sOutputKey)) ? $this->_sOutputKey : $sOutputKey;
120 $iFileSize = filesize($this->_oUtils->getCacheFilePath($sCurrentKey));
122 $this->_oUtils->setHeader(
"Pragma: public");
123 $this->_oUtils->setHeader(
"Expires: 0");
124 $this->_oUtils->setHeader(
"Cache-Control: must-revalidate, post-check=0, pre-check=0, private");
125 $this->_oUtils->setHeader(
'Content-Disposition: attachment;filename=' . $this->_sOutputFileName);
126 $this->_oUtils->setHeader(
"Content-Type: application/octet-stream");
128 $this->_oUtils->setHeader(
"Content-Length: " . $iFileSize);
130 echo $this->_oUtils->fromFileCache($sCurrentKey);