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