PEAR_ChannelFile::addMirrorFunction()
PEAR_ChannelFile::addMirrorFunction()
-- Add a protocol to a mirror's provides section
Synopsis
require_once '/ChannelFile.php'; |
bool
PEAR_ChannelFile::addMirrorFunction
(string
$mirror, string
$type, string
$version, string
[$name = ''])
Beschreibung
This is a direct way to add a xmlrpc or soap
function to a mirror. See docs for
addFunction().
Parameter
- string
$mirror
mirror name (server)
- string
$type
protocol type
- string
$version
protocol version
- string
$name
protocol name, if any
Fehler-Meldungen
throws
no exceptions thrown
Hinweise
Diese Methode kann nicht
statisch aufgerufen werden.