summaryrefslogtreecommitdiff
path: root/manager/library/l10n
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2015-08-09 19:12:51 +0200
committerBenny Baumann <BenBE@geshi.org>2015-08-09 22:23:21 +0200
commit4edd7b57c0057f9cfab0874a198256b87bd018b7 (patch)
tree2a623eade7fea29bda28e15692991821448c8fe1 /manager/library/l10n
parentce38587c8459587d7a03002ebcb4427ed95fb85c (diff)
downloadcacert-mgr-4edd7b57c0057f9cfab0874a198256b87bd018b7.tar.gz
cacert-mgr-4edd7b57c0057f9cfab0874a198256b87bd018b7.tar.xz
cacert-mgr-4edd7b57c0057f9cfab0874a198256b87bd018b7.zip
bug 1396: Codestyle cleanup
Diffstat (limited to 'manager/library/l10n')
-rw-r--r--manager/library/l10n/L10n.php68
1 files changed, 34 insertions, 34 deletions
diff --git a/manager/library/l10n/L10n.php b/manager/library/l10n/L10n.php
index 01a8d1b..6bcea2f 100644
--- a/manager/library/l10n/L10n.php
+++ b/manager/library/l10n/L10n.php
@@ -5,43 +5,43 @@
* $Id: L10n.php 13 2009-11-24 14:52:56Z markus $
*/
class L10n {
- /**
- * static pointer to instance
- * @var L10n
- */
- private static $instance = null;
+ /**
+ * static pointer to instance
+ * @var L10n
+ */
+ private static $instance = null;
- /**
- * config object
- * @var Zend_Locale
- */
- private $locale = null;
+ /**
+ * config object
+ * @var Zend_Locale
+ */
+ private $locale = null;
- /**
- * make new translate
- */
- protected function __construct() {
- $this->locale = new Zend_Locale();
- }
+ /**
+ * make new translate
+ */
+ protected function __construct() {
+ $this->locale = new Zend_Locale();
+ }
- /**
- * get already existing instance, make new instance or throw an exception
- * @return L10n
- */
- public static function getInstance() {
- if (self::$instance === null) {
- self::$instance = new L10n();
- }
+ /**
+ * get already existing instance, make new instance or throw an exception
+ * @return L10n
+ */
+ public static function getInstance() {
+ if (self::$instance === null) {
+ self::$instance = new L10n();
+ }
- return self::$instance;
- }
+ return self::$instance;
+ }
- /**
- * magic __call dispatches all unknown methods to Zend_Locale
- * @param unknown_type $method
- * @param unknown_type $arguments
- */
- public function __call($method, $arguments) {
- return call_user_func_array(array($this->locale, $method), $arguments);
- }
+ /**
+ * magic __call dispatches all unknown methods to Zend_Locale
+ * @param unknown_type $method
+ * @param unknown_type $arguments
+ */
+ public function __call($method, $arguments) {
+ return call_user_func_array(array($this->locale, $method), $arguments);
+ }
}