protected function _resource_exists($resource)
    {
        if ($this->isVirtual) {
            $resource = $this->_prepareForVfs($resource);
        }

        // return the result of operation (virtual or real)
        return file_exists($resource);
    }
protected function _resource_exists($resource)
    {
        if ($this->isVirtual) {
            $resource = $this->_prepareForVfs($resource);
        }

        // return the result of operation (virtual or real)
        return file_exists($resource);
    }
protected function _resource_exists ( $ resource ) { if ( $ this -> isVirtual ) { $ resource = $ this -> _prepareForVfs ( $ resource ) ; } // return the result of operation (virtual or real) return file_exists ( $ resource ) ; }
file_exists - virtual-fs supporting wrapper

This method is intend to work as file_exists - virtual-fs supporting wrapper.

@param string $resource Path to the file or directory

@author Benjamin Carl <opensource@clickalicious.de>
@return bool Returns TRUE if the file or directory specified by file exists, otherwise FALSE
@access protected
file_exists - virtual - fs supporting wrapper