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

string|FALSE $mirror

Mirror server name or FALSE for primary server

string $version

function version


throws no exceptions thrown


This function can not be called statically.

Set the package validation object if it differs from PEAR's default. (Previous) Determines whether a channel supports any Representational State Transfer (REST) resources (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.