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

        // return result
        return is_writable($resource);
    }
protected function _is_writable($resource)
    {
        if ($this->isVirtual) {
            $resource = $this->_prepareForVfs($resource);
        }

        // return result
        return is_writable($resource);
    }
protected function _is_writable ( $ resource ) { if ( $ this -> isVirtual ) { $ resource = $ this -> _prepareForVfs ( $ resource ) ; } // return result return is_writable ( $ resource ) ; }
is_writable - virtual-fs supporting wrapper

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

@param string $resource The resource being checked.

@author Benjamin Carl <opensource@clickalicious.de>
@return bool TRUE if the resource exists and is writable, otherwise FALSE
@access protected
is_writable - virtual - fs supporting wrapper