PEAR_ChannelFile::getFunction

PEAR_ChannelFile::getFunction() – getFunction

Synopsis

require_once '/ChannelFile.php';

array PEAR_ChannelFile::getFunction ( string $type , string $name = null , string $mirror = false )

Description

Retrieve the xml representation of a function. If found, the array is of format:

<?php
array(
 
'_content' => 'functionname',
 
'attribs' => array('version' => 'version.number')
);
?>

Parameter

string $type

Protocol type

string $name

Function name (NULL to return the first protocol of the type requested)

string $mirror

Mirror name, if any

Throws

throws no exceptions thrown

Note

This function can not be called statically.

Wrapper to PEAR_ErrorStack::getErrors() (Previous) Retrieve a list of all xmlrpc/soap functions (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.