PEAR Manual
Prev |  | Next

# 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.

Prev | Home | Next
PEAR_ChannelFile::setName() | Up | PEAR_ChannelFile::setPort()