Lines Matching refs:files
44 var $files = array(); variable in File_Archive_Reader_Cache
72 if ($this->fromSource && !empty($this->files)) {
76 if ($this->pos+1 < count($this->files) && !$this->fromSource) {
78 fseek($this->tmpFile, $this->files[$this->pos]['pos'], SEEK_SET);
95 $this->files[] = array(
101 $this->pos = count($this->files)-1;
110 function getFilename() { return $this->files[$this->pos]['name']; }
114 function getStat() { return $this->files[$this->pos]['stat']; }
118 function getMime() { return $this->files[$this->pos]['mime']; }
141 if ($length > 0 && $this->pos+1 < count($this->files)) {
142 $maxSize = $this->files[$this->pos+1]['pos'] - ftell($this->tmpFile);
168 if ($length >= 0 && $this->pos+1 < count($this->files)) {
169 $maxSize = $this->files[$this->pos+1]['pos'] - ftell($this->tmpFile);
196 $pos = $this->files[$this->pos]['pos'];
205 return ftell($this->tmpFile) - $this->files[$this->pos]['pos'];
223 $this->files = array();