PEAR_Registry::updatePackage()

PEAR_Registry::updatePackage() -- Update Package information

Referentiesamenvatting

require_once 'PEAR/Registry.php';

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

Beschrijving

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.

Return waarde

boolean - Geeft TRUE terug bij success, FALSE bij een fout.

Throws

Tabel 28-1. Mogelijke PEAR_Error waarden

Error codeError valueMeaningSolution
 ""  

Note

Deze functie kan niet statisch worden aangeroepen.