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 = '' )

Description

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

This function can not be called statically.