Example #1
0
 /**
  * @see File_Archive_Reader::close()
  */
 function close()
 {
     $error = parent::close();
     if ($this->directoryHandle !== null) {
         closedir($this->directoryHandle);
         $this->directoryHandle = null;
     }
     return $error;
 }
Example #2
0
 /**
  * @see File_Archive_Reader::close()
  */
 function close()
 {
     for ($i = 0; $i < count($this->readers); ++$i) {
         $this->readers[$i]->close();
     }
     //var_dump($this->toClose);
     for ($i = 0; $i < count($this->toClose); ++$i) {
         if ($this->toClose[$i] !== null) {
             $this->toClose[$i]->close();
         }
     }
     $this->readers = array();
     $this->toClose = array();
     $error = parent::close();
     $this->baseDirCompressionLevel = null;
     $this->baseDirProgression = 0;
     unset($this->source);
     $this->source =& $this->startReader;
     $this->source->close();
     $this->currentFileNotDisplayed = false;
     return $error;
 }
Example #3
0
 /**
  * @see File_Archive_Reader::close()
  */
 function close()
 {
     $error = parent::close();
     $this->currentIndex = 0;
     return $error;
 }