PEAR_ChannelFile::supports()

PEAR_ChannelFile::supports()  -- determines whether a webservices function is supported by a channel

概要

require_once '/ChannelFile.php';

boolean PEAR_ChannelFile::supports (string $type, string [$name = NULL], string|false [$mirror = FALSE], string [$version = '1.0'])

説明

This is used in the installer to determine whether a protocol is supported before attempting to connect to a remote server and invoke the function needed.

パラメータ

string $type

protocol type (xmlrpc or soap)

string $name

function name (like package.info)

string|FALSE $mirror

Mirror server name or FALSE for primary server

string $version

function version

例外・エラー

throws no exceptions thrown

注意

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