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.

Efficiently Download a file through HTTP. Returns downloaded file as a string in-memory This is best used for small files (Previous) getCacheId (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.