function PclZip::privCloseFd in Quiz 6.6
Same name and namespace in other branches
- 6.5 includes/moodle/lib/pclzip/pclzip.lib.php \PclZip::privCloseFd()
8 calls to PclZip::privCloseFd()
- PclZip::privAdd in includes/
moodle/ lib/ pclzip/ pclzip.lib.php - PclZip::privCreate in includes/
moodle/ lib/ pclzip/ pclzip.lib.php - PclZip::privDeleteByRule in includes/
moodle/ lib/ pclzip/ pclzip.lib.php - PclZip::privDuplicate in includes/
moodle/ lib/ pclzip/ pclzip.lib.php - PclZip::privExtractByRule in includes/
moodle/ lib/ pclzip/ pclzip.lib.php
File
- includes/
moodle/ lib/ pclzip/ pclzip.lib.php, line 2338
Class
Code
function privCloseFd() {
//--(MAGIC-PclTrace)--//PclTraceFctStart(__FILE__, __LINE__, "PclZip::privCloseFd", "");
$v_result = 1;
if ($this->zip_fd != 0) {
@fclose($this->zip_fd);
}
$this->zip_fd = 0;
// ----- Return
//--(MAGIC-PclTrace)--//PclTraceFctEnd(__FILE__, __LINE__, $v_result);
return $v_result;
}