You are here

function PclZip::errorCode in Quiz 6.6

Same name and namespace in other branches
  1. 6.5 includes/moodle/lib/pclzip/pclzip.lib.php \PclZip::errorCode()
17 calls to PclZip::errorCode()
PclZip::privAdd in includes/moodle/lib/pclzip/pclzip.lib.php
PclZip::privAddFile in includes/moodle/lib/pclzip/pclzip.lib.php
PclZip::privAddFileList in includes/moodle/lib/pclzip/pclzip.lib.php
PclZip::privDeleteByRule in includes/moodle/lib/pclzip/pclzip.lib.php
PclZip::privDirCheck in includes/moodle/lib/pclzip/pclzip.lib.php

... See full list

File

includes/moodle/lib/pclzip/pclzip.lib.php, line 1288

Class

PclZip

Code

function errorCode() {
  if (PCLZIP_ERROR_EXTERNAL == 1) {
    return PclErrorCode();
  }
  else {
    return $this->error_code;
  }
}