PEAR_DependencyDB::getDependencies
PEAR_DependencyDB::getDependencies() – Get a list of dependencies of this installed package
Synopsis
require_once '/DependencyDB.php';
array|false
PEAR_DependencyDB::getDependencies
(
PEAR_PackageFile_v1|PEAR_PackageFile_v2|array
&$pkg
)
Description
get an array of all immediate package dependencies of an installed package.
Parameter
-
PEAR_PackageFile_v1|PEAR_PackageFile_v2|array
&$pkg
-
This parameter, if an array, should be in format:
<?php
array(
'package' => 'packagename',
'channel' => 'channelname'
);
?>
Throws
throws no exceptions thrown
Note
This function can not be called statically.