Web site hosting and cheap domain registration services
  

 Home

PEAR Manual
PrevNext

PEAR_Config::singleton()

PEAR_Config::singleton() -- Return a reference of a PEAR_Config object

Description

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.

Parameter

string $user_file

file to read user-defined options from

string $system_file

file to read system-wide defaults from

Return value

object - an existing or new PEAR_Config instance

Note

This function should be called statically.


PrevHomeNext
PEAR_Config::set()UpPEAR_Config::store()
 

 

 

© 2002-2004 Active-Venture.com Web Site Hosting Service

 

Disclaimers: This documentation is provided only for the benefits of our website hosting customers.
For authoritative source of the documentation, please refer to http://pear.php.net/manual/

Recommended Resources: