original_string: protected function downloadExportFile()
      {
          $this->view->layout()->disableLayout();
          \Zend_Controller_Action_HelperBroker::getExistingHelper('viewRenderer')->setNoRender(true);
  
          $batch          = $this->getExportBatch(false);
          $downloadName  = $batch->getSessionVariable('downloadname');
          $localFilename = $batch->getSessionVariable('filename');
  
          header("Content-Type: application/download");
          header("Content-Disposition: attachment; filename=\"$downloadName\"");
          header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");    // Date in the past
          header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
          header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
          header("Pragma: cache");                          // HTTP/1.0
          readfile($localFilename);
          exit();
      }
code: protected function downloadExportFile()
      {
          $this->view->layout()->disableLayout();
          \Zend_Controller_Action_HelperBroker::getExistingHelper('viewRenderer')->setNoRender(true);
  
          $batch          = $this->getExportBatch(false);
          $downloadName  = $batch->getSessionVariable('downloadname');
          $localFilename = $batch->getSessionVariable('filename');
  
          header("Content-Type: application/download");
          header("Content-Disposition: attachment; filename=\"$downloadName\"");
          header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");    // Date in the past
          header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
          header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
          header("Pragma: cache");                          // HTTP/1.0
          readfile($localFilename);
          exit();
      }
code_tokens: protected function downloadExportFile ( ) { $ this -> view -> layout ( ) -> disableLayout ( ) ; \ Zend_Controller_Action_HelperBroker :: getExistingHelper ( 'viewRenderer' ) -> setNoRender ( true ) ; $ batch = $ this -> getExportBatch ( false ) ; $ downloadName = $ batch -> getSessionVariable ( 'downloadname' ) ; $ localFilename = $ batch -> getSessionVariable ( 'filename' ) ; header ( "Content-Type: application/download" ) ; header ( "Content-Disposition: attachment; filename=\"$downloadName\"" ) ; header ( "Expires: Mon, 26 Jul 1997 05:00:00 GMT" ) ; // Date in the past header ( "Last-Modified: " . gmdate ( "D, d M Y H:i:s" ) . " GMT" ) ; header ( "Cache-Control: must-revalidate, post-check=0, pre-check=0" ) ; header ( "Pragma: cache" ) ; // HTTP/1.0 readfile ( $ localFilename ) ; exit ( ) ; }
docstring: Performs actual download
  
  @param \MUtil_Model_Bridge_FormBridgeInterface $bridge
  @param \MUtil_Model_ModelAbstract $model
docstring_tokens: Performs actual download