PEAR_REST::useLocalCache() – useLocalCache


require_once '/REST.php';

mixed PEAR_REST::useLocalCache ( bool $url )


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.


string $url

The URL to retrieve data for.


throws no exceptions thrown


This function can not be called statically.

Save the value retrieved from a remote REST resource in the local cache. (Previous) PEAR (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.