예제 #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;
 }