private $dbLayer = NULL;
// An instance of this class
- private static $thisInstance = NULL;
+ private static $selfInstance = NULL;
/**
* Protected constructor
$databaseInstance->setDatabaseLayer($dbLayer);
// Set db instance
- self::$thisInstance = $databaseInstance;
+ self::$selfInstance = $databaseInstance;
// Return instance
return $databaseInstance;
// Get an instance of this class
public static final function getSelfInstance () {
- return self::$thisInstance;
+ return self::$selfInstance;
}
// Public setter for database connection