PEAR_ChannelFile::getPath

PEAR_ChannelFile::getPath() – getPath

Synopsis

require_once '/ChannelFile.php';

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

Description

Récupère le chemin relatif pour accéder au protocole désiré. Si le canal est nommé foo.example.com et xmlrpc est accessible à foo.example.com/xml/rpc, alors le chemin sera xml/rpc.

Parameter

string $protocol

xmlrpc ou soap

string|FALSE $mirror

Nom du miroir ou FALSE pour le serveur primaire.

Throws

No exceptions thrown.

Note

This function can not be called statically.