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.

constructor (Previous) Test whether a file belongs to a package (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.