PEAR_ChannelFile::setDefaultPEARProtocols()

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 (pear.php.net). 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

注意

この関数は、スタティックにコールする ことはできません。