PEAR_ChannelFile::getFunction

PEAR_ChannelFile::getFunction()

PEAR_ChannelFile::getFunction()  -- getFunction

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.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.