Пример #1
0
 public static function OInstance()
 {
     if (empty(self::$s_oInstance)) {
         self::$s_oInstance = new self();
     }
     return self::$s_oInstance;
 }
Пример #2
0
 public static function OInstance()
 {
     switch (KO_LC_ENGINE) {
         case 'kproxy':
             return Ko_Data_LCache::OInstance();
         default:
             assert(0);
     }
 }