You are here

public function AuthcacheP13nCacheGranularity::is in Authenticated User Page Caching (Authcache) 7.2

Test whether a given granularity is set.

File

modules/authcache_p13n/includes/AuthcacheP13nCacheGranularity.inc, line 29
Defines the cache granularity class.

Class

AuthcacheP13nCacheGranularity
Cache granularity class.

Code

public function is($flag) {
  return $this->granularity & $flag;
}