string
PEAR_ChannelFile::getPath
(
string
$protocol
,
string|false
$mirror
= false
)
Retrieve the relative path to access the protocol desired. If the channel is named
foo.example.com
and xmlrpc is accessed at foo.example.com/xml/rpc
then path will be xml/rpc
.
$protocol
xmlrpc
or soap
$mirror
mirror name or FALSE for primary server
throws no exceptions thrown
This function can not be called statically.