function PclZip::errorInfo in Quiz 6.6
Same name and namespace in other branches
- 6.5 includes/moodle/lib/pclzip/pclzip.lib.php \PclZip::errorInfo()
File
- includes/
moodle/ lib/ pclzip/ pclzip.lib.php, line 1350
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 . "]";
}
}
}