constructor PEAR_ChannelFile::PEAR_ChannelFile | PEAR_ChannelFile::addMirror |
PEAR_ChannelFile | |
PEAR Manual | |
require_once '/ChannelFile.php'; |
bool
PEAR_ChannelFile::addFunction
(
string
$type
,
string
$version
,
string
$name = ''
,
string
$mirror = false
)
Adds a supported xml-rpc or SOAP function to a channel definition file. The type should be xmlrpc or soap in lower-cased letters. No validation is performed on insert. For example:
|
The oops protocol will be successfully created, but will fail upon validation.
Adding a function to a mirror simply validated to ensure that the mirror already exists.
|
protocol type
protocol version
protocol name, if any
mirror name, if this is a mirror's protocol
throws no exceptions thrown
This function can not be called statically.
constructor PEAR_ChannelFile::PEAR_ChannelFile | PEAR_ChannelFile::addMirror |
PEAR_ChannelFile | |
PEAR Manual | |