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