PEAR_Config::setRegistry | PEAR_Config::store |
PEAR_Config | |
PEAR Manual | |
require_once 'PEAR/config.php'; |
object &PEAR_Config::singleton (
string $user_file = ''
, string $system_file = ''
)
If you want to keep only one instance of this class in use, this method will give you a reference to the last created PEAR_Config object if one exists, or create a new object.
file to read user-defined options from
file to read system-wide defaults from
object - an existing or new PEAR_Config instance
This function should be called statically.
PEAR_Config::setRegistry | PEAR_Config::store |
PEAR_Config | |
PEAR Manual | |