PEAR_Dependency2::validatePackageUninstall

PEAR_Dependency2::validatePackageUninstall() – validatePackageUninstall

Synopsis

require_once '/Dependency2.php';

true|PEAR_Error|array PEAR_Dependency2::validatePackageUninstall ( PEAR_Installer &$dl )

Description

As with all dependency validation, true is returned on success, PEAR_Error on failure for required dependencies (and the PEAR installer dependency is required). If the soft, force or ignore-errors options are specified, an array containing the error message will be returned instead.

Parameter

PEAR_Installer &$dl

This method retrieves the list of packages to be uninstalled from the PEAR_Installer object, and makes sure no dependencies with existing packages would be broken if the current package were to be uninstalled.

Throws

throws no exceptions thrown

Note

This function can not be called statically.

validatePackageDependency (Previous) validatePearinstallerDependency (Next)
Last updated: Mon, 24 Nov 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.