PEAR Manual
Prev |  | Next

# PEAR_REST::getCache()

PEAR_REST::getCache() -- getCache

## Synopsis

    require_once '/REST.php';

``mixed|false PEAR_REST::getCache` (string $url)`

## Description

Retrieve the cache contents for a remote resource, or a PEAR_Error if the resource was not cached.

## Parameter

string `$url`

  REST resource URL

## Throws

throws PEAR_Error object returned on error.

## Note

This function can not be called statically.

Prev | Home | Next
PEAR_REST::downloadHttp() | Up | PEAR_REST::getCacheId()