PEAR_DependencyDB::getDependentPackages()
PEAR_DependencyDB::getDependentPackages()
-- Get a list of installed packages that depend on this package
概要
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.
パラメータ
- PEAR_PackageFile_v1|PEAR_PackageFile_v2|array
&$pkg
This parameter, if an array, should be in format:
<?php
array(
'package' => 'packagename',
'channel' => 'channelname'
);
?> |
例外・エラー
throws
no exceptions thrown
注意
この関数は、スタティックにコールする
ことはできません。