public function getPublicAccessUrl()
    {
        if (is_null($this->accessProvider)) {
            common_Logger::e('accessss');
            throw new common_Exception('Tried obtaining access to private directory with ID ' . $this->getId());
        }
        return $this->accessProvider->getAccessUrl($this->prefix . DIRECTORY_SEPARATOR);
    }
public function getPublicAccessUrl()
    {
        if (is_null($this->accessProvider)) {
            common_Logger::e('accessss');
            throw new common_Exception('Tried obtaining access to private directory with ID ' . $this->getId());
        }
        return $this->accessProvider->getAccessUrl($this->prefix . DIRECTORY_SEPARATOR);
    }
public function getPublicAccessUrl ( ) { if ( is_null ( $ this -> accessProvider ) ) { common_Logger :: e ( 'accessss' ) ; throw new common_Exception ( 'Tried obtaining access to private directory with ID ' . $ this -> getId ( ) ) ; } return $ this -> accessProvider -> getAccessUrl ( $ this -> prefix . DIRECTORY_SEPARATOR ) ; }
Returns a URL that allows you to access the files in a directory
preserving the relative paths

@return string
@throws common_Exception
Returns a URL that allows you to access the files in a directory preserving the relative paths