Deletes a file from the VFS.
public deleteFile ( string $path, string $name ) | ||
$path | string | The path to delete the file from. |
$name | string | The filename to delete. |
/** */ protected function _delete($keys) { $ret = true; foreach ($keys as $key) { try { $this->_vfs->deleteFile($this->_params['vfspath'], $key); } catch (Horde_Vfs_Exception $e) { $ret = false; } } return $ret; }
/** */ public function delete() { $this->_vfs->deleteFile($this->_vfspath, $this->_id); }