PEAR_ChannelFile::addMirrorFunction()

PEAR_ChannelFile::addMirrorFunction()  -- Add a protocol to a mirror's provides section

Referentiesamenvatting

require_once '/ChannelFile.php';

bool PEAR_ChannelFile::addMirrorFunction (string $mirror, string $type, string $version, string [$name = ''])

Beschrijving

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

Throws

throws no exceptions thrown

Note

Deze functie kan niet statisch worden aangeroepen.