PEAR_ChannelFile::setDefaultPEARProtocols

PEAR_ChannelFile::setDefaultPEARProtocols()

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

Description

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

Parameter

string $version

version of pearweb protocols to use.

string|FALSE $mirror

Mirror name or false for primary server.

Throws

throws no exceptions thrown

Note

This function can not be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.