예제 #1
0
파일: LCache.php 프로젝트: firaga/operation
 public static function OInstance()
 {
     if (empty(self::$s_oInstance)) {
         self::$s_oInstance = new self();
     }
     return self::$s_oInstance;
 }
예제 #2
0
파일: LCAgent.php 프로젝트: AllenLyu/ko
 public static function OInstance()
 {
     switch (KO_LC_ENGINE) {
         case 'kproxy':
             return Ko_Data_LCache::OInstance();
         default:
             assert(0);
     }
 }