PEAR_ChannelFile::getPath()
PEAR_ChannelFile::getPath()
-- getPath
概要
require_once '/ChannelFile.php'; |
string
PEAR_ChannelFile::getPath
(string
$protocol, string|false
[$mirror = FALSE])
説明
指定したプロトコルにアクセスするための相対パスを取得します。
チャネル名が foo.example.com、
xmlrpc が foo.example.com/xml/rpc
でアクセスできる場合、このパスは xml/rpc
となります。
パラメータ
- string
$protocol
xmlrpc あるいは soap。
- string|FALSE
$mirror
ミラー名、あるいはプライマリサーバを使用する場合は FALSE。
注意
この関数は、スタティックにコールする
ことはできません。