PEAR_DependencyDB::getDependentPackageDependencies | PEAR_DependencyDB::hasWriteAccess |
PEAR_DependencyDB | |
PEAR Manual | |
require_once '/DependencyDB.php'; |
array|false
PEAR_DependencyDB::getDependentPackages
(
PEAR_PackageFile_v1|PEAR_PackageFile_v2|array
&$pkg
)
This is most useful at uninstall-time. A list of installed packages that depend upon the package can be used to prevent uninstallation, and to emit warnings for optional dependencies.
This parameter, if an array, should be in format:
<?php array( 'package' => 'packagename', 'channel' => 'channelname' ); ?> |
throws no exceptions thrown
This function can not be called statically.
PEAR_DependencyDB::getDependentPackageDependencies | PEAR_DependencyDB::hasWriteAccess |
PEAR_DependencyDB | |
PEAR Manual | |