You are here

public function PHPExcel_Shared_ZipArchive::open in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/ZipArchive.php \PHPExcel_Shared_ZipArchive::open()

* Open a new zip archive * *

Parameters

string $fileName Filename for the zip archive: * @return boolean

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/ZipArchive.php, line 70

Class

PHPExcel_Shared_ZipArchive
PHPExcel_Shared_ZipArchive

Code

public function open($fileName) {
  $this->_tempDir = PHPExcel_Shared_File::sys_get_temp_dir();
  $this->_zip = new PclZip($fileName);
  return true;
}