PEAR_ChannelFile::addMirror

PEAR_ChannelFile::addMirror() – addMirror

Synopsis

require_once '/ChannelFile.php';

boolean PEAR_ChannelFile::addMirror ( string $server , int $port = null )

Description

Add a mirror server. Note that mirrors must be added to a channel.xml in order for users to use them. Unofficial mirrors are not allowed without user intervention.

Parameter

string $server

mirror server

integer $port

mirror http port

Throws

throws no exceptions thrown

Note

This function can not be called statically.

Add a protocol to the provides section (Previous) Add a protocol to a mirror's provides section (Next)
Last updated: Mon, 15 Sep 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.