PEAR_ChannelFile::setDefaultPEARProtocols() – Set a channel's protocols to the protocols supported by pearweb


require_once '/ChannelFile.php';

void PEAR_ChannelFile::setDefaultPEARProtocols ( string $version = '1.0' , string|false $mirror = false )


This method sets up a channel's xmlrpc protocols to match that of pearweb ( Note that it does not configure REST resources, that must be done manually through setBaseURL().


string $version

version of pearweb protocols to use.

string|FALSE $mirror

Mirror name or false for primary server.


throws no exceptions thrown


This function can not be called statically.

set the base URL for a REST resource, or set of REST resources (Previous) setName (Next)
Last updated: Sat, 03 Oct 2015 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.