deleteFile() 공개 메소드

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.
예제 #1
0
파일: Vfs.php 프로젝트: jubinpatel/horde
 /**
  */
 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;
 }
예제 #2
0
파일: Vfs.php 프로젝트: DSNS-LAB/Dmail
 /**
  */
 public function delete()
 {
     $this->_vfs->deleteFile($this->_vfspath, $this->_id);
 }