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

Possible PEAR_Error values
Error code Error value Meaning Solution
  "    

Note

This function can not be called statically.