コード例 #1
0
 /**
  * Clears cache content (for $this->newHash)
  *
  * @return void
  * @todo Define visibility
  */
 public function clearPageCacheContent()
 {
     $this->pageCache->remove($this->newHash);
 }
コード例 #2
0
 /**
  * Clears cache content (for $this->newHash)
  *
  * @return	void
  */
 function clearPageCacheContent()
 {
     if (TYPO3_UseCachingFramework) {
         $this->pageCache->remove($this->newHash);
     } else {
         $GLOBALS['TYPO3_DB']->exec_DELETEquery('cache_pages', 'hash=' . $GLOBALS['TYPO3_DB']->fullQuoteStr($this->newHash, 'cache_pages'));
     }
 }