PEAR_DependencyDB::installPackage

PEAR_DependencyDB::installPackage() – Register dependencies of a package that is being installed or upgraded

Synopsis

require_once '/DependencyDB.php';

void PEAR_DependencyDB::installPackage ( PEAR_PackageFile_v2|PEAR_PackageFile_v2 &$package )

Description

This method is used by the registry when a package is installed or upgraded to register the package's dependencies in the dependency database.

Parameter

PEAR_PackageFile_v2|PEAR_PackageFile_v2 &$package

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.

determines whether a dependency DB can be modified (Previous) Rebuild the dependency DB by reading registry entries. (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.