]> git.mxchange.org Git - admin.git/commitdiff
selfInstance is better
authorRoland Häder <roland@mxchange.org>
Tue, 8 Nov 2011 07:47:15 +0000 (07:47 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 8 Nov 2011 07:47:15 +0000 (07:47 +0000)
application/admin/class_ApplicationHelper.php

index 0f28bd69b73973ccaee12cde0f9c7f77b89fa8ec..90b6e644cbd851c6d9204953ac26ebb0eec2f4f6 100644 (file)
@@ -63,7 +63,7 @@ class ApplicationHelper extends BaseApplication implements ManageableApplication
        /**
         * An instance of this class
         */
-       private static $thisInstance = null;
+       private static $selfInstance = null;
 
        /**
         * Protected constructor
@@ -78,16 +78,16 @@ class ApplicationHelper extends BaseApplication implements ManageableApplication
        /**
         * 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 getInstance () {
+       public static final function getInstanceInstance () {
                // Is the instance there?
-               if (is_null(self::$thisInstance)) {
-                       self::$thisInstance = new ApplicationHelper();
-               }
+               if (is_null(self::$selfInstance)) {
+                       self::$selfInstance = new ApplicationHelper();
+               } // END - if
 
                // Return the instance
-               return self::$thisInstance;
+               return self::$selfInstance;
        }
 
        /**