function PclZip::errorInfo in Loft Data Grids 6.2
Same name and namespace in other branches
- 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
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 . "]";
    }
  }
}