PEAR_ChannelFile::supports

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

Synopsis

require_once '/ChannelFile.php';

boolean PEAR_ChannelFile::supports ( string $type , string $name = null , string|false $mirror = false , string $version = '1.0' )

Description

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.

Parameter

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

throws no exceptions thrown

Note

This function can not be called statically.