Source for file basicconfigreadersingleton_php5.php
Documentation is available at basicconfigreadersingleton_php5.php
* Generic configuration management object
* Parses the {@link bumblebee.ini } file
* @author Stuart Prescott
* @copyright Copyright Stuart Prescott
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id: basicconfigreadersingleton_php5.php,v 1.1 2007/02/16 23:10:22 themill Exp $
/** Load ancillary functions */
require_once 'inc/typeinfo.php';
static $constructed =
false;
#echo "Constructor called";
trigger_error('ConfigReader is a singleton. Instantiate it only once if you must (and you must instantiate it once if you want to inherit it) and then use getInstance()', E_USER_ERROR);
BasicConfigReader::_instanceManager($this);
static $instance =
array();
if ($newInstance ==
null) {
if (count($instance) <
1 ||
$instance[0] ==
null) {
$instance[0] =
new BasicConfigReader();
#echo "Returning instance";
#echo "registering instance";
$instance[0] =
& $newInstance;
Documentation generated on Tue, 06 Mar 2007 10:00:40 +0000 by phpDocumentor 1.3.0