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

Récupère le représentation XML d'une fonction. Si il est trouvé, le tableau sera du format :

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

Parameter

string $type

Type de protocole

string $name

Nom de la fonction (NULL pour retourner le premier protocole du type demandé)

string $mirror

Nom du miroir, s'il y en a un

Throws

No exceptions thrown.

Note

This function can not be called statically.