WordPress at Your Fingertips
function is not described

PclZip::errorInfo() public WP 1.0

Function : errorInfo() Description : Parameters :

{} It's a method of the class: PclZip{}

No Hooks.

Return

null. Nothing.

Usage

$PclZip = new PclZip();
$PclZip->errorInfo( $p_full );
$p_full **
-
Default: false

Code of PclZip::errorInfo() WP 5.8.2

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