예제 #1
0
 /**
  * Download an extension as a zip file
  *
  * @param string $extension
  */
 protected function downloadExtensionZipAction($extension)
 {
     $fileName = $this->fileHandlingUtility->createZipFileFromExtension($extension);
     $this->fileHandlingUtility->sendZipFileToBrowserAndDelete($fileName);
 }
예제 #2
0
 /**
  * Download an extension as a zip file
  *
  * @return void
  */
 protected function downloadExtensionZipAction()
 {
     $extension = $this->request->getArgument('extension');
     $fileName = $this->fileHandlingUtility->createZipFileFromExtension($extension);
     $this->fileHandlingUtility->sendZipFileToBrowserAndDelete($fileName);
 }