PEAR_ChannelFile::getFunction()

PEAR_ChannelFile::getFunction()  -- getFunction

概要

require_once '/ChannelFile.php';

array PEAR_ChannelFile::getFunction (string $type, string [$name = NULL], string [$mirror = FALSE])

説明

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


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

パラメータ

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 no exceptions thrown

注意

この関数は、スタティックにコールする ことはできません。