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: Wed, 01 Oct 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.