You are here

function PclZip::errorInfo in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/PCLZip/pclzip.lib.php \PclZip::errorInfo()

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/PCLZip/pclzip.lib.php, line 1334

Class

PclZip

Code

function errorInfo($p_full = false) {
  if (PCLZIP_ERROR_EXTERNAL == 1) {
    return PclErrorString();
  }
  else {
    if ($p_full) {
      return $this
        ->errorName(true) . " : " . $this->error_string;
    }
    else {
      return $this->error_string . " [code " . $this->error_code . "]";
    }
  }
}