You are here

class FlushPageCacheDrupalDatabaseCache in Flush page cache 7

@file Define flush page cache cache class for Drupal default database caching.

Hierarchy

Expanded class hierarchy of FlushPageCacheDrupalDatabaseCache

File

./flush_page_cache.cache.inc, line 7
Define flush page cache cache class for Drupal default database caching.

View source
class FlushPageCacheDrupalDatabaseCache extends DrupalDatabaseCache {
  function get($cid) {

    // Handle flush page cache request by deleting the cached object and returning FALSE.
    if (function_exists('flush_page_cache_requested') && flush_page_cache_requested()) {
      return FALSE;
    }
    return parent::get($cid);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
DrupalDatabaseCache::$bin protected property
DrupalDatabaseCache::clear function Implements DrupalCacheInterface::clear(). Overrides DrupalCacheInterface::clear 1
DrupalDatabaseCache::garbageCollection protected function Garbage collection for get() and getMultiple().
DrupalDatabaseCache::getMultiple function Implements DrupalCacheInterface::getMultiple(). Overrides DrupalCacheInterface::getMultiple 1
DrupalDatabaseCache::isEmpty function Implements DrupalCacheInterface::isEmpty(). Overrides DrupalCacheInterface::isEmpty 1
DrupalDatabaseCache::isValidBin function Checks if $this->bin represents a valid cache table.
DrupalDatabaseCache::prepareItem protected function Prepares a cached item.
DrupalDatabaseCache::set function Implements DrupalCacheInterface::set(). Overrides DrupalCacheInterface::set 1
DrupalDatabaseCache::__construct function Constructs a DrupalDatabaseCache object.
FlushPageCacheDrupalDatabaseCache::get function Implements DrupalCacheInterface::get(). Overrides DrupalDatabaseCache::get