PEAR_DependencyDB::setConfig (Previous) (Next) PEAR_DependencyDB::uninstallPackage

View this page in Last updated: Sun, 31 Aug 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Plain HTML

PEAR_DependencyDB::singleton()

PEAR_DependencyDB::singleton()  -- Get a raw dependency database. Calls setConfig() and assertDepsDB()

Synopsis

require_once '/DependencyDB.php';

PEAR_DependencyDB |PEAR_Error & PEAR_DependencyDB::singleton (PEAR_Config &$config, string|false [$depdb = FALSE])

Description

Return a single dependency database based on the location of the database on disk. In other words, 1 dependency database is created for each registry location.

Parameter

PEAR_Config &$config

PEAR_Config object

string|$false; $depdb

full path to the dependency database, or FALSE to use default

Throws

throws no exceptions thrown

Note

This function should be called statically.

PEAR_DependencyDB::setConfig (Previous) (Next) PEAR_DependencyDB::uninstallPackage

Download Documentation Last updated: Sun, 31 Aug 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.