You are here

function RespImgPageCache::checkCookie in Responsive images and styles 7

3 calls to RespImgPageCache::checkCookie()
RespImgPageCache::clear in ./cache.inc
Implements DrupalCacheInterface::clear().
RespImgPageCache::getMultiple in ./cache.inc
Implements DrupalCacheInterface::getMultiple().
RespImgPageCache::set in ./cache.inc
Implements DrupalCacheInterface::set().

File

./cache.inc, line 37

Class

RespImgPageCache

Code

function checkCookie() {
  return isset($_COOKIE[RESP_IMG_COOKIE]) && is_numeric($_COOKIE[RESP_IMG_COOKIE]);
}