Lines Matching refs:filename
37 $tempname = $this->filename . '.tmp';
42 $ih = @fopen($this->filename, 'r');
64 io_rename($tempname, $this->filename);
70 if (!file_exists($this->filename)) {
73 $fh = @fopen($this->filename, 'r');
96 if (!file_exists($this->filename)) {
99 $fh = @fopen($this->filename, 'r');
129 if (file_exists($this->filename)) {
130 $fh = @fopen($this->filename, 'r');
132 throw new IndexAccessException("Failed to read $this->filename");
149 if (!file_put_contents($this->filename, "$value\n", FILE_APPEND)) {
150 throw new IndexWriteException("Failed to write $this->filename");
163 if (file_exists($this->filename)) {
164 $fh = @fopen($this->filename, 'r');
166 throw new IndexAccessException("Failed to read $this->filename");
206 if (!file_exists($this->filename)) return 0;
207 $fh = @fopen($this->filename, 'r');
218 if (!file_exists($this->filename)) return;
219 $fh = @fopen($this->filename, 'r');