PEAR_REST::retrieveCacheFirst (Previous) (Next) PEAR_REST::saveCache

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

PEAR_REST::retrieveData()

PEAR_REST::retrieveData()  -- Retrieve a remote REST resource

Description

retrieve the contents of a remote resource.

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 PEAR_Error objects are returned on error.

Note

This function can not be called statically.

PEAR_REST::retrieveCacheFirst (Previous) (Next) PEAR_REST::saveCache

Download Documentation Last updated: Sun, 07 Sep 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.