exists() 공개 메소드

Returns if a given file or folder exists in a folder.
public exists ( string $path, string $name ) : boolean
$path string The path to the folder.
$name string The file or folder name.
리턴 boolean True if it exists, false otherwise.
예제 #1
0
파일: Vfs.php 프로젝트: jubinpatel/horde
 /**
  */
 protected function _exists($keys)
 {
     $out = array();
     foreach ($keys as $key) {
         $out[$key] = $this->_vfs->exists($this->_params['vfspath'], $key);
     }
     return $out;
 }
예제 #2
0
파일: Vfs.php 프로젝트: DSNS-LAB/Dmail
 /**
  */
 public function exists()
 {
     return $this->_vfs->exists($this->_vfspath, $this->_id);
 }