Home
last modified time | relevance | path

Searched refs:sourceOpened (Results 1 – 2 of 2) sorted by path

/plugin/zip/pear/File/
H A DArchive.php637 * @param bool $sourceOpened specifies if the archive is already opened
645 function readArchive($extension, &$toConvert, $sourceOpened = false) argument
655 File_Archive::readArchive('gz', $source, $sourceOpened)
659 File_Archive::readArchive('bz2', $source, $sourceOpened)
663 return new File_Archive_Reader_Tar($source, $sourceOpened);
668 return new File_Archive_Reader_Gzip($source, $sourceOpened);
672 return new File_Archive_Reader_Zip($source, $sourceOpened);
677 return new File_Archive_Reader_Bzip2($source, $sourceOpened);
682 return new File_Archive_Reader_Ar($source, $sourceOpened);
/plugin/zip/pear/File/Archive/Reader/
H A DArchive.php50 var $sourceOpened = false; variable in File_Archive_Reader_Archive
68 if (!$this->sourceOpened && ($error = $this->source->next()) !== true) {
72 $this->sourceOpened = true;
77 function File_Archive_Reader_Archive(&$source, $sourceOpened = false) argument
80 $this->sourceOpened = $this->sourceInitiallyOpened = $sourceOpened;
89 if (!$this->sourceInitiallyOpened && $this->sourceOpened) {
90 $this->sourceOpened = false;