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
)
Описание
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
Error code | Error value | Meaning | Solution |
---|---|---|---|
" |
Замечание
This function can not be called statically.