]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/language/class_LanguageSystem.php
$selfInstance is better
[core.git] / inc / classes / main / language / class_LanguageSystem.php
index 3cde53082b6dd0c129efdb0debd6c4d2797658a5..4a6b72058339aa5ee0fbedda8a587e2fd1d20e36 100644 (file)
@@ -41,7 +41,7 @@ class LanguageSystem extends BaseFrameworkSystem implements ManageableLanguage,
        /**
         * An instance of this class
         */
        /**
         * An instance of this class
         */
-       private static $thisInstance = NULL;
+       private static $selfInstance = NULL;
 
        /**
         * Protected constructor
 
        /**
         * Protected constructor
@@ -94,7 +94,7 @@ class LanguageSystem extends BaseFrameworkSystem implements ManageableLanguage,
                $langInstance->setLanguageCode(FrameworkConfiguration::getSelfInstance()->getConfigEntry('default_lang'));
 
                // Remember this instance
                $langInstance->setLanguageCode(FrameworkConfiguration::getSelfInstance()->getConfigEntry('default_lang'));
 
                // Remember this instance
-               self::$thisInstance = $langInstance;
+               self::$selfInstance = $langInstance;
 
                // Return the prepared instance
                return $langInstance;
 
                // Return the prepared instance
                return $langInstance;
@@ -103,10 +103,10 @@ class LanguageSystem extends BaseFrameworkSystem implements ManageableLanguage,
        /**
         * Singleton getter for this instance
         *
        /**
         * Singleton getter for this instance
         *
-        * @return      $thisInstance   An instance of this class
+        * @return      $selfInstance   An instance of this class
         */
        public static final function getSelfInstance () {
         */
        public static final function getSelfInstance () {
-               return self::$thisInstance;
+               return self::$selfInstance;
        }
 
        /**
        }
 
        /**