PEAR_Registry::addPackage()

PEAR_Registry::addPackage() -- Registers a package to the registry

Synopsis

require_once 'PEAR/Registry.php';

boolean PEAR_Registry::addPackage (string $package, array $info)

Description

Adds a Package entry to the registry

Parameter

string $package

Package name

array $info

additional information for the package entry

Return value

boolean - FALSE if Package is already registered;

Throws

Table 20-1. Possible PEAR_Error values

Error codeError valueMeaningSolution
 ""  

Note

This function can not be called statically.