Lines Matching refs:this
82 $this->memory = &$memory;
83 $this->filename = $this->getStandardURL($filename);
84 $this->stat = $stat;
85 $this->stat[7] = $this->stat['size'] = strlen($this->memory);
86 $this->mime = $mime;
95 if ($this->alreadyRead) {
98 $this->alreadyRead = true;
106 function getFilename() { return $this->filename; }
110 function getStat() { return $this->stat; }
116 return $this->mime==null ? parent::getMime() : $this->mime;
124 if ($this->offset == strlen($this->memory)) {
128 $actualLength = strlen($this->memory) - $this->offset;
130 $actualLength = min($length, strlen($this->memory) - $this->offset);
132 $result = substr($this->memory, $this->offset, $actualLength);
133 $this->offset += $actualLength;
143 $length = strlen($this->memory) - $this->offset;
145 $length = min($length, strlen($this->memory) - $this->offset);
147 $this->offset += $length;
157 $tmp = $this->offset;
158 $this->offset = 0;
161 $length = min($length, $this->offset);
162 $this->offset -= $length;
172 return $this->offset;
180 $this->offset = 0;
181 $this->alreadyRead = false;
206 $data = substr($this->memory, 0, $this->offset + $seek);
207 $this->memory = substr($this->memory, $this->offset + $seek);
212 $data .= substr($this->memory, 0, $length);
214 $this->memory = substr($this->memory, $length);
218 $this->memory = $data . $this->memory;
220 $this->memory = $data;
222 $this->close();
223 return new File_Archive_Writer_Memory($this->memory, strlen($this->memory));