PEAR_ChannelFile::getPath

PEAR_ChannelFile::getPath() – getPath

Synopsis

require_once '/ChannelFile.php';

string PEAR_ChannelFile::getPath ( string $protocol , string|false $mirror = = false )

Description

指定したプロトコルにアクセスするための相対パスを取得します。 チャネル名が foo.example.com、 xmlrpc が foo.example.com/xml/rpc でアクセスできる場合、このパスは xml/rpc となります。

Parameter

string $protocol

xmlrpc あるいは soap

string|FALSE $mirror

ミラー名、あるいはプライマリサーバを使用する場合は FALSE

Throws

例外はスローされません。

Note

This function can not be called statically.