public function exists($path, $name) { try { $list = $this->listFolder($path); return isset($list[$name]); } catch (Horde_Vfs_Exception $e) { return false; } }
/** */ protected function _exists($keys) { $out = array(); foreach ($keys as $key) { $out[$key] = $this->_vfs->exists($this->_params['vfspath'], $key); } return $out; }