PEAR_Registry::packageExists()

PEAR_Registry::packageExists() -- Check for Package

Synopsis

require_once 'PEAR/Registry.php';

boolean PEAR_Registry::packageExists (string $package)

Description

Checks wether a Package is registered in the registry or not.

Parameter

string $package

Package name

Return value

boolean - TRUE if package is registered

Throws

Table 20-1. Possible PEAR_Error values

Error codeError valueMeaningSolution
 ""  

Note

This function can not be called statically.