/**
  * resturns a single instance of this class
  *
  * @return oxLang
  */
 public static function getInstance()
 {
     if (defined('OXID_PHP_UNIT')) {
         if (($oClassMod = modInstances::getMod(__CLASS__)) && is_object($oClassMod)) {
             return $oClassMod;
         } else {
             $inst = oxNew('oxLang');
             modInstances::addMod(__CLASS__, $inst);
             return $inst;
         }
     }
     if (!self::$_instance instanceof oxLang) {
         self::$_instance = oxNew('oxLang');
     }
     return self::$_instance;
 }