string
PEAR_ChannelFile::getPath
(
string
$protocol
,
string|false
$mirror
= = false
)
指定したプロトコルにアクセスするための相対パスを取得します。
チャネル名が foo.example.com
、
xmlrpc が foo.example.com/xml/rpc
でアクセスできる場合、このパスは xml/rpc
となります。
$protocol
xmlrpc
あるいは soap
。
$mirror
ミラー名、あるいはプライマリサーバを使用する場合は FALSE。
例外はスローされません。
This function can not be called statically.