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: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.