コード例 #1
0
ファイル: cache.php プロジェクト: ASDAFF/bitrix-5
 function IsCacheExpired($path)
 {
     if (is_object($this) && is_object($this->_cache)) {
         return $this->_cache->IsCacheExpired($path);
     } else {
         $obCache = new CPHPCache();
         return $obCache->IsCacheExpired($path);
     }
 }
コード例 #2
0
ファイル: cache.php プロジェクト: ASDAFF/entask.ru
 public function isCacheExpired($path)
 {
     return $this->cacheEngine->isCacheExpired($path);
 }