PEAR_ChannelFile::getPath

PEAR_ChannelFile::getPath() – getPath

Synopsis

require_once '/ChannelFile.php';

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

Description

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.

Parameter

string $protocol

xmlrpc or soap

string|FALSE $mirror

mirror name or FALSE for primary server

Throws

throws no exceptions thrown

Note

This function can not be called statically.