PEAR_ChannelFile::setPath

PEAR_ChannelFile::setPath() – Set the file path for xmlrpc or soap

Synopsis

require_once '/ChannelFile.php';

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 or soap

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.

setName (Previous) Set the socket number (port) that is used to connect to this channel (Next)
Last updated: Tue, 21 Oct 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.