string|array
PEAR_REST::retrieveData
(
string
$url
,
array|false
$accept = false
,
bool
$forcestring = false
)
リモートリソースの内容を取得します。
$url
このリソースへの完全な URL。
$accept
accept-encoding ヘッダの内容。
$forcestring
TRUE の場合は xml が文字列として返されます。 それ以外の場合は xml が PEAR_XMLParser でパースされます。
エラー時には PEAR_Error オブジェクトが返されます。
This function can not be called statically.