You are here

function RespImgPageCache::getMultiple in Responsive images and styles 7

Implements DrupalCacheInterface::getMultiple().

Overrides DrupalDatabaseCache::getMultiple

File

./cache.inc, line 14

Class

RespImgPageCache

Code

function getMultiple(&$cids) {
  if ($this
    ->checkCookie()) {
    foreach ($cids as $key => $cid) {
      $cids[$key] = $cid . '_' . $_COOKIE[RESP_IMG_COOKIE];
    }
  }
  return parent::getMultiple($cids);
}