Exemplo n.º 1
0
 /**
  * Returns class instance
  *
  * @return BOL_DbCacheService
  */
 public static function getInstance()
 {
     if (!isset(self::$classInstance)) {
         self::$classInstance = new self();
     }
     return self::$classInstance;
 }
Exemplo n.º 2
0
 public function dbCacheProcess()
 {
     // Delete expired db cache entry
     BOL_DbCacheService::getInstance()->deleteExpiredList();
 }
Exemplo n.º 3
0
 /**
  *
  * @return OW_CacheService
  */
 public static function getCacheService()
 {
     return BOL_DbCacheService::getInstance();
     //TODO make configurable
 }