PEAR_ChannelFile::addMirror()

PEAR_ChannelFile::addMirror()  -- addMirror

概要

require_once '/ChannelFile.php';

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

説明

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.

パラメータ

string $server

mirror server

integer $port

mirror http port

例外・エラー

throws no exceptions thrown

注意

この関数は、スタティックにコールする ことはできません。