PEAR_DependencyDB::getDependencies

PEAR_DependencyDB::getDependencies() – このインストール済みパッケージの依存性の一覧を取得する

Synopsis

require_once '/DependencyDB.php';

array|false PEAR_DependencyDB::getDependencies ( PEAR_PackageFile_v1|PEAR_PackageFile_v2|array &$pkg )

Description

インストール済みのパッケージについて、 すべての直接パッケージ依存性を配列で取得します。

Parameter

PEAR_PackageFile_v1|PEAR_PackageFile_v2|array &$pkg

このパラメータに配列を指定する場合、その書式は次のようになります。


<?php
array(
  'package' => 'パッケージ名',
  'channel' => 'チャネル名'
);
?>

Throws

例外はスローされません。

Note

This function can not be called statically.