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.

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.