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.

addMirror (Previous) Returns channel information from different sources (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.