PEAR_REST::getCacheId (Previous) (Next) PEAR_REST::retrieveData

View this page in Last updated: Sun, 17 Aug 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Plain HTML

PEAR_REST::retrieveCacheFirst()

PEAR_REST::retrieveCacheFirst()  -- Retrieve REST data, but always retrieve the local cache if it is available.

Description

This is useful for elements that should never change, such as information on a particular release

Parameter

string $url

full URL to this resource

array|FALSE $accept

contents of the accept-encoding header

boolean $forcestring

if TRUE, xml will be returned as a string, otherwise, xml will be parsed using PEAR_XMLParser

Throws

throws no exceptions thrown

Note

This function can not be called statically.

PEAR_REST::getCacheId (Previous) (Next) PEAR_REST::retrieveData

Download Documentation Last updated: Sun, 17 Aug 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.