Example #1
0
 /**
  * @see File_Archive_Reader::close()
  */
 function close()
 {
     $this->currentFilename = null;
     $this->currentStat = null;
     $this->compLength = 0;
     $this->data = null;
     $this->seekToEnd = 0;
     $this->files = array();
     $this->centralDirectory = null;
     return parent::close();
 }
Example #2
0
 /**
  * @see File_Archive_Reader::close()
  */
 function close($innerClose = true)
 {
     if ($this->bzfile !== null) {
         bzclose($this->bzfile);
     }
     if ($this->tmpName !== null) {
         unlink($this->tmpName);
     }
     $this->bzfile = null;
     $this->tmpName = null;
     $this->nbRead = 0;
     $this->filePos = 0;
     return parent::close($innerClose);
 }
Example #3
0
 /**
  * @see File_Archive_Reader::close()
  */
 function close()
 {
     $this->leftLength = 0;
     $this->currentFilename = null;
     $this->currentStat = null;
     $this->seekToEnd = null;
     return parent::close();
 }
Example #4
0
 /**
  * @see File_Archive_Reader::close()
  */
 function close()
 {
     rar_close($this->rarEntry);
     if ($this->fileReader !== null) {
         $this->fileReader->close();
     }
     if ($this->rarTmpName !== null) {
         unlink($this->rarTmpName);
     }
     if ($this->entryTmpName !== null) {
         unlink($this->entryTmpName);
     }
     $this->rarFile = null;
     $this->rarEntry = null;
     reset($this->rarList);
     return parent::close();
 }
Example #5
0
 /**
  * @see File_Archive_Reader::close()
  */
 function close()
 {
     $this->_currentFilename = null;
     $this->_currentStat = null;
     $this->_nbBytesLeft = 0;
     $this->_header = 0;
     $this->_footer = false;
     $this->_alreadyRead = false;
     return parent::close();
 }
Example #6
0
 /**
  * @see File_Archive_Reader::close()
  */
 function close()
 {
     $this->folders = array();
     $this->folderIndex = 0;
     $this->fileIndex = 0;
     $this->offset = 0;
     $this->blockOffset = 0;
     $this->header = null;
     $this->data = '';
     return parent::close();
 }