PEAR_DependencyDB::setConfig

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

Synopsis

require_once '/DependencyDB.php';

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

Description

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.

Parameter

PEAR_Config|FALSE &$config

string|FALSE $depdb

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

Throws

throws no exceptions thrown

Note

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: Mon, 22 Sep 2014 — 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.