PEAR_DependencyDB::setConfig() – Set up the registry/location of dependency DB


require_once '/DependencyDB.php';

void PEAR_DependencyDB::setConfig ( PEAR_Config|false &$config , string|false $depdb = false )


This crucial method is used to set the PEAR_Config object that should be used to retrieve both configuration information and a PEAR_Registry class for internal manipulation.


PEAR_Config|FALSE &$config

string|FALSE $depdb

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


throws no exceptions thrown


This function can not be called statically.

Rebuild the dependency DB by reading registry entries. (Previous) Get a raw dependency database. Calls setConfig() and assertDepsDB() (Next)
Last updated: Thu, 08 Oct 2015 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.