PEAR_ChannelFile::addMirrorFunction()
PEAR_ChannelFile::addMirrorFunction()
-- Add a protocol to a mirror's provides section
概要
require_once '/ChannelFile.php'; |
bool
PEAR_ChannelFile::addMirrorFunction
(string
$mirror, string
$type, string
$version, string
[$name = ''])
説明
This is a direct way to add a xmlrpc or soap
function to a mirror. See docs for
addFunction().
パラメータ
- string
$mirror mirror name (server)
- string
$type protocol type
- string
$version protocol version
- string
$name protocol name, if any
例外・エラー
throws
no exceptions thrown
注意
この関数は、スタティックにコールする
ことはできません。