PEAR_ChannelFile::setPath

PEAR_ChannelFile::setPath() – Définit le chemin de fichier pour xmlrpc ou soap

Synopsis

require_once '/ChannelFile.php';

void PEAR_ChannelFile::setPath ( string $protocol , string|false $path , string|false $mirror = = false )

Description

Définit le chemin relatif pour le canal qui doit être utilisé pour se connecter au protocole sélectionné. Par défaut, ce sera xmlrpc.php pour xml-rpc et soap.php pour SOAP.

Parameter

string $protocol

xmlrpc ou soap

string|FALSE $path

Nom du serveur miroir ou FALSE pour le serveur primaire

string|FALSE $mirror

Nom du miroir ou FALSE pour le serveur primaire.

Throws

No exceptions thrown.

Note

This function can not be called statically.