PEAR_REST::useLocalCache()

PEAR_REST::useLocalCache()  -- useLocalCache

Synopsis

require_once '/REST.php';

mixed PEAR_REST::useLocalCache (bool $url)

Beschreibung

Retrieve the contents of the local cached copy of a remote URL. FALSE is returned if there are any problems, under the assumption that REST contents will always be larger than a simple boolean due to HTTP overhead.

Parameter

string $url

The URL to retrieve data for.

Fehler-Meldungen

throws no exceptions thrown

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.