PEAR_ChannelFile::getPath()

PEAR_ChannelFile::getPath()  -- getPath

Synopsis

require_once '/ChannelFile.php';

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

Beschreibung

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

Fehler-Meldungen

throws no exceptions thrown

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.