Esempio n. 1
0
 public static function getInstance()
 {
     if (self::$instance === NULL) {
         self::$instance = new DBProxy();
     }
     return self::$instance;
 }
Esempio n. 2
0
 public function flush()
 {
     DBProxy::getInstance()->purgeOldItems(time());
 }