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.
$type
protocol type (xmlrpc
or soap
)
$name
function name (like package.info
)
$mirror
Mirror server name or FALSE for primary server
$version
function version
throws no exceptions thrown
This function can not be called statically.