PEAR_Registry::updatePackage()

PEAR_Registry::updatePackage() -- Update Package information

Synopsis

require_once 'PEAR/Registry.php';

boolean PEAR_Registry::updatePackage (string $package, array $info [, bool $merge = TRUE])

Beschreibung

Updates the existing information of a Package in the registry.

Parameter

string $package

Package name

array $info

information to update

mixed $merge

if FALSE the old informations will be deleted completly an replaced with the new; if TRUE update only - unchanged values will remain.

Rückgabewert

boolean - Gibt bei Erfolg TRUE zurück, bei einem Fehler FALSE.

Fehler-Meldungen

Tabelle 28-1. Mögliche Fehler-Arten

Error codeError valueMeaningSolution
 „“  

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.