PclZip::errorInfo

Advertisement

Syntax Syntax

PclZip::errorInfo( $p_full = false )

Source Source

File: wp-admin/includes/class-pclzip.php

  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."]");
      }
    }
  }

Advertisement

Advertisement

Leave a Reply