PEAR_ChannelFile::supports
Synopsis
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
orsoap
)
-
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.