PEAR_ChannelFile::setPath
Synopsis
void
PEAR_ChannelFile::setPath
(
string
$protocol
,
string|false
$path
,
string|false
$mirror
= false
)
Description
Set the relative location to the channel that should be used to connect to the
selected protocol. Defaults are xmlrpc.php
for xml-rpc and
soap.php
for SOAP.
Parameter
-
string
$protocol
-
xmlrpc
orsoap
-
string|FALSE
$path
-
name of the mirror server, or FALSE for the primary
-
string|FALSE
$mirror
-
Mirror name or false for primary server.
Throws
throws no exceptions thrown
Note
This function can not be called statically.