PEAR_Registry::packageInfo()

PEAR_Registry::packageInfo() -- Get Package information

Synopsis

require_once 'PEAR/Registry.php';

mixed PEAR_Registry::packageInfo ([string $package = NULL [, string $key = NULL]])

Description

Returns (specific) information stored in the registry about a Package.

Parameter

string $package

Package name

string $key

the name of a specific information to get

Return value

mixed - an array with all information, or a key specific information, if $key was used; NULL if Package or specific information does not exist

Note

This function can not be called statically.