You are here

public static function PHPExcel_Settings::setZipClass in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Settings.php \PHPExcel_Settings::setZipClass()

Set the Zip handler Class that PHPExcel should use for Zip file management (PCLZip or ZipArchive)

Parameters

string $zipClass The Zip handler class that PHPExcel should use for Zip file management: e.g. PHPExcel_Settings::PCLZip or PHPExcel_Settings::ZipArchive

Return value

boolean Success or failure

3 calls to PHPExcel_Settings::setZipClass()
01simplePCLZip.php in vendor/phpoffice/phpexcel/Examples/01simplePCLZip.php
07readerPCLZip.php in vendor/phpoffice/phpexcel/Examples/07readerPCLZip.php
OOCalcReaderPCLZip.php in vendor/phpoffice/phpexcel/Examples/OOCalcReaderPCLZip.php

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Settings.php, line 122

Class

PHPExcel_Settings

Code

public static function setZipClass($zipClass) {
  if ($zipClass === self::PCLZIP || $zipClass === self::ZIPARCHIVE) {
    self::$_zipClass = $zipClass;
    return TRUE;
  }
  return FALSE;
}