コード例 #1
0
ファイル: Translate.php プロジェクト: kangza/hagtag
 /**
  * Returns an instance of System_Translate
  *
  * Singleton pattern implementation
  *
  * @return System_Translate Provides a fluent interface
  */
 public static function getInstance($config = '')
 {
     if (null === self::$_instance) {
         self::$_instance = new self($config);
     }
     return self::$_instance;
 }