PEAR_ChannelFile::getFunction()
PEAR_ChannelFile::getFunction()
-- getFunction
Synopsis
require_once '/ChannelFile.php'; |
array
PEAR_ChannelFile::getFunction
(string
$type, string
[$name = NULL], string
[$mirror = FALSE])
Beschreibung
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
Fehler-Meldungen
throws
no exceptions thrown
Hinweise
Diese Methode kann nicht
statisch aufgerufen werden.