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