Beispiel #1
0
 function IsCacheExpired($path)
 {
     if (is_object($this) && is_object($this->_cache)) {
         return $this->_cache->IsCacheExpired($path);
     } else {
         $obCache = new CPHPCache();
         return $obCache->IsCacheExpired($path);
     }
 }
Beispiel #2
0
 public function isCacheExpired($path)
 {
     return $this->cacheEngine->isCacheExpired($path);
 }