/**
* An instance of this class
*/
- private static $thisInstance = NULL;
+ private static $selfInstance = NULL;
/**
* Protected constructor
$langInstance->setLanguageCode(FrameworkConfiguration::getSelfInstance()->getConfigEntry('default_lang'));
// Remember this instance
- self::$thisInstance = $langInstance;
+ self::$selfInstance = $langInstance;
// Return the prepared instance
return $langInstance;
/**
* Singleton getter for this instance
*
- * @return $thisInstance An instance of this class
+ * @return $selfInstance An instance of this class
*/
public static final function getSelfInstance () {
- return self::$thisInstance;
+ return self::$selfInstance;
}
/**
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
/**
* An instance of this class
*/
- private static $thisInstance = NULL;
+ private static $selfInstance = NULL;
/**
* Protected constructor
parent::__construct(__CLASS__);
// Set own instance
- self::$thisInstance = $this;
+ self::$selfInstance = $this;
// Set it so all can use it
$this->setDebugInstance($this);
/**
* Getter for an instance of this class
*
- * @return $thisInstance An instance of this class
+ * @return $selfInstance An instance of this class
*/
public static final function getSelfInstance() {
- return self::$thisInstance;
+ return self::$selfInstance;
}
/**
/**
* An instance of this class
*/
- private static $thisInstance = NULL;
+ private static $selfInstance = NULL;
/**
* Protected constructor
parent::__construct(__CLASS__);
// Set own instance
- self::$thisInstance = $this;
+ self::$selfInstance = $this;
}
/**
/**
* Getter for an instance of this class
*
- * @return $thisInstance An instance of this class
+ * @return $selfInstance An instance of this class
*/
public static final function getSelfInstance () {
- return self::$thisInstance;
+ return self::$selfInstance;
}
/**