Lines Matching refs:handle
43 var $handle = null; variable in File_Archive_Writer_Files
108 $this->handle = fopen($filename, 'r+');
112 if (!is_resource($this->handle)) {
117 if (fseek($this->handle, $pos) == -1) {
118 fread($this->handle, $pos);
139 if (fseek($this->handle, $pos) == -1) {
140 fread($this->handle, $pos);
151 fwrite($this->handle, $data);
159 while(!feof($this->handle)) {
160 fwrite($this->handle, fread($read, 8196));
167 ftruncate($this->handle, ftell($this->handle));
187 $this->handle = @fopen($this->filename, "w");
188 if (!is_resource($this->handle)) {
195 function writeData($data) { fwrite($this->handle, $data); }
223 if ($this->handle !== null) {
224 fclose($this->handle);
225 $this->handle = null;