PEAR_REST::retrieveCacheFirst()
PEAR_REST::retrieveCacheFirst()
-- Retrieve REST data, but always retrieve the local cache if it is available.
概要
require_once '/REST.php'; |
string|array
PEAR_REST::retrieveCacheFirst
(string
$url, array|false
[$accept = false], boolean
[$forcestring = false])
説明
This is useful for elements that should never change, such as information on a particular release
パラメータ
- 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
no exceptions thrown
注意
この関数は、スタティックにコールする
ことはできません。