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])

Beschreibung

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

Fehler-Meldungen

throws no exceptions thrown

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.