PEAR_DependencyDB::installPackage()
PEAR_DependencyDB::installPackage()
-- Register dependencies of a package that is being installed or upgraded
概要
require_once '/DependencyDB.php'; |
void
PEAR_DependencyDB::installPackage
(PEAR_PackageFile_v2|PEAR_PackageFile_v2
&$package)
説明
This method is used by the registry when a package is installed or upgraded to
register the package's dependencies in the dependency database.
パラメータ
- PEAR_PackageFile_v2|PEAR_PackageFile_v2
&$package
This parameter, if an array, should be in format:
<?php
array(
'package' => 'packagename',
'channel' => 'channelname'
);
?> |
例外・エラー
throws
no exceptions thrown
注意
この関数は、スタティックにコールする
ことはできません。