protected function getCacheId($name = null) { if ($name === null) { $name = 'blockhomecategories'; } return parent::getCacheId($name . '|' . date('Ymd')); }
protected function getCacheId($name = null) { if ($name === null) { $name = 'tmnewproducts'; } return parent::getCacheId($name . '|' . date('Ymd')); }
protected function getCacheId($name = null) { if ($name === null) { $name = 'blockmobilecart-column'; } return parent::getCacheId($name . '|' . date('Ymd')); }
protected function getCacheId($name = null) { parent::getCacheId($name); $groups = implode(', ', Customer::getGroupsStatic((int) $this->context->customer->id)); $id_product = (int) Tools::getValue('id_product', 0); $id_category = (int) Tools::getValue('id_category', 0); $id_lang = (int) $this->context->language->id; return 'blockcategories|' . (int) Tools::usingSecureMode() . '|' . $this->context->shop->id . '|' . $groups . '|' . $id_lang . '|' . $id_product . '|' . $id_category; }
protected function getCacheId($name = null) { $cache_id = parent::getCacheId(); if ($name !== null) { $cache_id .= '|' . $name; } if ((Tools::getValue('id_product') || Tools::getValue('id_category')) && isset($this->context->cookie->last_visited_category) && $this->context->cookie->last_visited_category) { $cache_id .= '|' . (int) $this->context->cookie->last_visited_category; } return $cache_id . '|' . implode('-', Customer::getGroupsStatic($this->context->customer->id)); }
protected function getCacheId($name = null) { if ($name === null) { $name = 'blockspecials'; } return parent::getCacheId($name . '|' . date('Ymd')); }
protected function getCacheId($name = null) { parent::getCacheId($name); $page_name = in_array($this->page_name, array('category', 'supplier', 'manufacturer', 'cms', 'product')) ? $this->page_name : 'index'; return 'blocktopmenu|' . (int) Tools::usingSecureMode() . '|' . $page_name . '|' . (int) $this->context->shop->id . '|' . implode(', ', $this->user_groups) . '|' . (int) $this->context->language->id . '|' . (int) Tools::getValue('id_category') . '|' . (int) Tools::getValue('id_manufacturer') . '|' . (int) Tools::getValue('id_supplier') . '|' . (int) Tools::getValue('id_cms') . '|' . (int) Tools::getValue('id_product'); }
protected function getCacheId() { if ($name === NULL) { $name = 'topfootercms'; return parent::getCacheId($name . '|' . date('Ymd')); } }
protected function getCacheId($name = null) { if ($name === null) { $name = 'blockbestsellercities'; } return parent::getCacheId($name . '|' . date('Ymd')); }
public function getCacheId($action) { return parent::getCacheId($action); }
function getCacheId($name = null) { return parent::getCacheId('flexiblebrand|' . $name); }
protected function getCacheId($name = null) { if ($name === null) { $name = 'iqitcontentcreator'; } return parent::getCacheId($name . '|' . date('Ymd')); }
function getCacheId($name = null) { return parent::getCacheId('oviccustomtags|' . $name); }
public function getCacheId($name = null) { if ($name === null && isset($this->context->smarty->tpl_vars['page_name'])) { return parent::getCacheId($this->context->smarty->tpl_vars['page_name']->value); } return parent::getCacheId($name); }
protected function getCacheId($name = null) { $cache_id = parent::getCacheId(); if ($name !== null) { $cache_id .= '|' . $name; } return $cache_id . '|' . implode('-', Customer::getGroupsStatic($this->context->customer->id)); }
public function getCacheId($name = null) { if ($name === null) { $name = 'blockoffers'; } return parent::getCacheId($name . '|' . date('Ymd')); }
protected function getCacheId($name = null) { $cache_id = parent::getCacheId($name); return $cache_id . '_' . (int) Tools::usingSecureMode(); }
protected function getCacheId($name = null) { $name = ($name ? $name . '|' : '') . implode('-', Customer::getGroupsStatic($this->context->customer->id)); return parent::getCacheId($name); }
public function getCacheId($id_product = null) { return parent::getCacheId() . '|' . (int) $id_product; }
function getCacheId($name = null) { return parent::getCacheId('groupcategory|' . $name); }
protected function getCacheId($name = null) { return parent::getCacheId('blockcms|' . $name); }
protected function getCacheId($name = null) { return parent::getCacheId('blocknewproducts|' . date('Ymd')); }
protected function getCacheId($name = null) { $page_name = in_array($this->page_name, array('category', 'supplier', 'manufacturer', 'cms', 'product')) ? $this->page_name : 'index'; return parent::getCacheId() . '|' . $page_name . ($page_name != 'index' ? '|' . (int) Tools::getValue('id_' . $page_name) : ''); }
public function getCacheId($cache = 10) { return parent::getCacheId() . '|' . (int) $cache; }