projects
/
mailer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
selfInstance is better
[mailer.git]
/
application
/
mailer
/
class_ApplicationHelper.php
diff --git
a/application/mailer/class_ApplicationHelper.php
b/application/mailer/class_ApplicationHelper.php
index 386ad253841e05166aa2091ddf719cd7d5809c54..ed334f936c063906fd94aab2501ca87c95a12ee4 100644
(file)
--- a/
application/mailer/class_ApplicationHelper.php
+++ b/
application/mailer/class_ApplicationHelper.php
@@
-63,7
+63,7
@@
class ApplicationHelper extends BaseApplication implements ManageableApplication
/**
* An instance of this class
*/
/**
* An instance of this class
*/
- private static $
this
Instance = null;
+ private static $
self
Instance = null;
/**
* Protected constructor
/**
* Protected constructor
@@
-78,16
+78,16
@@
class ApplicationHelper extends BaseApplication implements ManageableApplication
/**
* Getter for an instance of this class
*
/**
* 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 () {
// Is the instance there?
*/
public static final function getInstance () {
// Is the instance there?
- if (is_null(self::$
this
Instance)) {
- self::$
this
Instance = new ApplicationHelper();
- }
+ if (is_null(self::$
self
Instance)) {
+ self::$
self
Instance = new ApplicationHelper();
+ }
// END - if
// Return the instance
// Return the instance
- return self::$
this
Instance;
+ return self::$
self
Instance;
}
/**
}
/**