PEAR_Dependency2::validatePackageDependency | PEAR_Dependency2::validatePearinstallerDependency |
PEAR_Dependency2 | |
PEAR Manual | |
require_once '/Dependency2.php'; |
true|PEAR_Error|array
PEAR_Dependency2::validatePackageUninstall
(
PEAR_Installer
&$dl
)
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.
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 no exceptions thrown
This function can not be called statically.
PEAR_Dependency2::validatePackageDependency | PEAR_Dependency2::validatePearinstallerDependency |
PEAR_Dependency2 | |
PEAR Manual | |